Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.OpenChannel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 81.17 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9689/0.9689, allocations: 177.2 MB / 200.3 MB, free: 5.391 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 148.7 kB / 256.9 MB, free: 12.83 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2802/0.2802, allocations: 80.23 MB / 393.7 MB, free: 3.035 MB / 362.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo): time 0.01988/0.01988, allocations: 4.799 MB / 481.8 MB, free: 71.64 MB / 410.7 MB " [Timeout remaining time 180] Using package OpenHPL with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo) Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenHPL.Examples.OpenChannel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.OpenChannel") translateModel(OpenHPL.Examples.OpenChannel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.OpenChannel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.5679 GB, free: 3.836 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.165e-05, allocations: 5.828 kB / 0.5679 GB, free: 3.832 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.OpenChannel): time 0.002805/0.002827, allocations: 3.091 MB / 0.5709 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.005236, allocations: 1.922 MB / 0.5728 GB, free: 14.78 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.005438, allocations: 7.938 kB / 0.5728 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007493/0.006187, allocations: 0.5478 MB / 0.5733 GB, free: 14.22 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003926/0.00658, allocations: 226.3 kB / 0.5735 GB, free: 14 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008882/0.007468, allocations: 394.7 kB / 0.5739 GB, free: 13.61 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008555/0.008323, allocations: 1.088 MB / 0.575 GB, free: 12.52 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004852/0.008808, allocations: 346.8 kB / 0.5753 GB, free: 12.18 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00048/0.009288, allocations: 0.5067 MB / 0.5758 GB, free: 11.67 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003734/0.009662, allocations: 391 kB / 0.5762 GB, free: 11.29 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.769e-05/0.009749, allocations: 88 kB / 0.5762 GB, free: 11.2 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004051/0.01015, allocations: 343.4 kB / 0.5766 GB, free: 10.87 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.0103, allocations: 219.3 kB / 0.5768 GB, free: 10.65 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.0105, allocations: 271.3 kB / 0.577 GB, free: 10.39 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00072/0.01122, allocations: 0.8879 MB / 0.5779 GB, free: 9.496 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.01122, allocations: 4 kB / 0.5779 GB, free: 9.492 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01122, allocations: 0 / 0.5779 GB, free: 9.492 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.01123, allocations: 0 / 0.5779 GB, free: 9.492 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001351/0.01258, allocations: 1.18 MB / 0.5791 GB, free: 8.262 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.01261, allocations: 12.03 kB / 0.5791 GB, free: 8.25 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003115/0.01292, allocations: 136.4 kB / 0.5792 GB, free: 8.117 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/0.0133, allocations: 399 kB / 0.5796 GB, free: 7.695 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.01332, allocations: 33.38 kB / 0.5796 GB, free: 7.664 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-05/0.01338, allocations: 48.36 kB / 0.5797 GB, free: 7.617 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/0.01385, allocations: 0.5821 MB / 0.5802 GB, free: 6.949 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.01386, allocations: 4.141 kB / 0.5802 GB, free: 6.945 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.0139, allocations: 24.31 kB / 0.5803 GB, free: 6.922 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.678e-05/0.01394, allocations: 28.88 kB / 0.5803 GB, free: 6.895 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002562/0.01419, allocations: 194.8 kB / 0.5805 GB, free: 6.703 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.01583, allocations: 1.573 MB / 0.582 GB, free: 5.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005834/0.01642, allocations: 487.5 kB / 0.5825 GB, free: 4.602 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.0166, allocations: 178 kB / 0.5826 GB, free: 4.426 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.01663, allocations: 12.66 kB / 0.5827 GB, free: 4.414 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.01666, allocations: 45.98 kB / 0.5827 GB, free: 4.359 MB / 458.7 MB Notification: Performance of pre-optimization done (n=67): time 1.683e-06/0.01666, allocations: 0 / 0.5827 GB, free: 4.359 MB / 458.7 MB Notification: Performance of matching and sorting (n=67): time 0.0009149/0.01758, allocations: 0.6069 MB / 0.5833 GB, free: 3.742 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.01765, allocations: 222.2 kB / 0.5835 GB, free: 3.477 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.01794, allocations: 466.4 kB / 0.5839 GB, free: 3.008 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.01798, allocations: 37.7 kB / 0.584 GB, free: 2.965 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.01811, allocations: 292.3 kB / 0.5843 GB, free: 2.676 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.01823, allocations: 261.7 kB / 0.5845 GB, free: 2.418 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.01838, allocations: 148.2 kB / 0.5847 GB, free: 2.262 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.01853, allocations: 0.5468 MB / 0.5852 GB, free: 1.703 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.01868, allocations: 105.9 kB / 0.5853 GB, free: 1.602 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.01893, allocations: 398.2 kB / 0.5857 GB, free: 1.141 MB / 458.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: pipe.Vdot = pipe.Vdot_0 (discharge.Vdot_0 = pipe.Vdot_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0007637/0.0197, allocations: 0.6206 MB / 0.5863 GB, free: 0.5078 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.0197, allocations: 1.203 kB / 0.5863 GB, free: 0.5078 MB / 458.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0006033/0.0203, allocations: 0.5044 MB / 0.5868 GB, free: 15.99 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.02031, allocations: 8 kB / 0.5868 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.02032, allocations: 0 / 0.5868 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002002/0.02052, allocations: 71.59 kB / 0.5868 GB, free: 15.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003721/0.02089, allocations: 183.7 kB / 0.587 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000861/0.02175, allocations: 1.795 MB / 0.5888 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.02212, allocations: 51.61 kB / 0.5888 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.843e-05/0.02222, allocations: 23.98 kB / 0.5888 GB, free: 13.75 MB / 474.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: pipe.Vdot = pipe.Vdot_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000239/0.02246, allocations: 192.4 kB / 0.589 GB, free: 13.55 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.02264, allocations: 79.62 kB / 0.5891 GB, free: 13.47 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008201/0.02346, allocations: 0.6006 MB / 0.5897 GB, free: 12.86 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.02347, allocations: 12.03 kB / 0.5897 GB, free: 12.85 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.02347, allocations: 0 / 0.5897 GB, free: 12.85 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.02348, allocations: 3.984 kB / 0.5897 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.02454, allocations: 0.9668 MB / 0.5906 GB, free: 11.83 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.02454, allocations: 0 / 0.5906 GB, free: 11.83 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005646/0.0251, allocations: 231.8 kB / 0.5909 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001979/0.0253, allocations: 63.64 kB / 0.5909 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-05/0.02534, allocations: 23.98 kB / 0.591 GB, free: 11.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.02744, allocations: 5.361 MB / 0.5962 GB, free: 5.816 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.02744, allocations: 4 kB / 0.5962 GB, free: 5.812 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008514/0.02829, allocations: 0.8082 MB / 0.597 GB, free: 4.977 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.02839, allocations: 79.41 kB / 0.5971 GB, free: 4.898 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.523e-05/0.02844, allocations: 16 kB / 0.5971 GB, free: 4.883 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.02864, allocations: 19.94 kB / 0.5971 GB, free: 4.863 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.964e-05/0.02871, allocations: 64.48 kB / 0.5972 GB, free: 4.801 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.02874, allocations: 16 kB / 0.5972 GB, free: 4.785 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001953/0.02894, allocations: 311 kB / 0.5975 GB, free: 4.48 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02894, allocations: 0 / 0.5975 GB, free: 4.48 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005655/0.0295, allocations: 255.6 kB / 0.5977 GB, free: 4.23 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (reservoir.m,tail.m,openChannel.h_sec[1],openChannel.h_sec[2],openChannel.h_sec[3],openChannel.h_sec[4],openChannel.h_sec[5],openChannel.h_sec[6],openChannel.h_sec[7],openChannel.h_sec[8],openChannel.h_sec[9],openChannel.h_sec[10],pipe.mdot) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003149/0.02982, allocations: 198.9 kB / 0.5979 GB, free: 4.027 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007271/0.03054, allocations: 0.5635 MB / 0.5984 GB, free: 3.441 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.03055, allocations: 0 / 0.5984 GB, free: 3.441 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004964/0.03104, allocations: 466.2 kB / 0.5989 GB, free: 2.969 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.03148, allocations: 145.8 kB / 0.599 GB, free: 2.824 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.03331, allocations: 1.54 MB / 0.6005 GB, free: 1.242 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.03341, allocations: 152.4 kB / 0.6007 GB, free: 1.07 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000291/0.03371, allocations: 105 kB / 0.6008 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004487/0.03415, allocations: 286 kB / 0.6011 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of SimCode: time 7.61e-07/0.03416, allocations: 0 / 0.6011 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of Templates: time 0.01945/0.0536, allocations: 14.62 MB / 0.6153 GB, free: 2.281 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.OpenChannel.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.OpenChannel.pipe ; mkfifo OpenHPL_OpenHPL.Examples.OpenChannel.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.OpenChannel.pipe >> ../files/OpenHPL_OpenHPL.Examples.OpenChannel.sim & ./OpenHPL_OpenHPL.Examples.OpenChannel -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.OpenChannel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.095284637063742]