Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.9449/0.9449, allocations: 153.8 MB / 173.4 MB, free: 4.922 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005392/0.0005392, allocations: 11.97 kB / 251.1 MB, free: 3.938 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1982, allocations: 33.37 MB / 284.5 MB, free: 1.965 MB / 222.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss): time 1.887/2.085, allocations: 307.5 MB / 0.5781 GB, free: 16.05 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03592/2.121, allocations: 34.7 MB / 0.612 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003162/2.121, allocations: 2.188 kB / 0.612 GB, free: 14.41 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/PipePressureLoss.mo:35:3-37:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/PipePressureLoss.mo:38:3-40:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004615/2.122, allocations: 132.8 kB / 0.6121 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/2.122, allocations: 120.3 kB / 0.6122 GB, free: 14.27 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.03011/2.152, allocations: 9.822 MB / 0.6218 GB, free: 8.711 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009514/2.153, allocations: 342.4 kB / 0.6221 GB, free: 8.375 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002716/2.153, allocations: 99.53 kB / 0.6222 GB, free: 8.281 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000404/2.154, allocations: 155.3 kB / 0.6224 GB, free: 8.129 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/2.154, allocations: 118 kB / 0.6225 GB, free: 8.016 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.152e-05/2.154, allocations: 16 kB / 0.6225 GB, free: 8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0412/2.195, allocations: 17.92 MB / 0.64 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.285e-05/2.195, allocations: 43.8 kB / 0.6401 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000315/2.196, allocations: 131.3 kB / 0.6402 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0221/2.218, allocations: 8.444 MB / 0.6484 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.959e-06/2.218, allocations: 4 kB / 0.6484 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.553e-06/2.218, allocations: 0 / 0.6484 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.414e-05/2.218, allocations: 0 / 0.6484 GB, free: 13.42 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.004561/2.222, allocations: 1.415 MB / 0.6498 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/2.222, allocations: 12.03 kB / 0.6498 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.312e-05/2.223, allocations: 27.81 kB / 0.6499 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/2.223, allocations: 176.6 kB / 0.65 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.713e-05/2.223, allocations: 16.44 kB / 0.65 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/2.223, allocations: 20 kB / 0.6501 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004656/2.223, allocations: 304.1 kB / 0.6503 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/2.223, allocations: 0 / 0.6503 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/2.223, allocations: 8 kB / 0.6504 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/2.223, allocations: 16.83 kB / 0.6504 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/2.224, allocations: 165.2 kB / 0.6505 GB, free: 11.19 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03796/2.262, allocations: 11.24 MB / 0.6615 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003261/2.262, allocations: 120.2 kB / 0.6616 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/2.262, allocations: 72.83 kB / 0.6617 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1528/2.415, allocations: 43.41 MB / 0.7041 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/2.415, allocations: 30.56 kB / 0.7041 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.104e-06/2.415, allocations: 0 / 0.7041 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.001075/2.416, allocations: 372.4 kB / 0.7045 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/2.416, allocations: 55.41 kB / 0.7045 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/2.416, allocations: 216.9 kB / 0.7047 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/2.416, allocations: 25.7 kB / 0.7047 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/2.416, allocations: 152.7 kB / 0.7049 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.715e-05/2.417, allocations: 115 kB / 0.705 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.783e-05/2.417, allocations: 53.66 kB / 0.7051 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001677/2.417, allocations: 338.8 kB / 0.7054 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/2.417, allocations: 76.81 kB / 0.7055 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/2.417, allocations: 116.2 kB / 0.7056 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/2.417, allocations: 213.8 kB / 0.7058 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/2.417, allocations: 0 / 0.7058 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000471/2.418, allocations: 298.3 kB / 0.706 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/2.418, allocations: 4 kB / 0.7061 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/2.418, allocations: 0 / 0.7061 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009367/2.419, allocations: 170.4 kB / 0.7062 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.059e-05/2.419, allocations: 8 kB / 0.7062 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006281/2.419, allocations: 0.6324 MB / 0.7068 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/2.42, allocations: 36.55 kB / 0.7069 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/2.42, allocations: 8 kB / 0.7069 GB, free: 1.133 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (pipePressureLoss.C2.b,pipePressureLoss.C1.a,PuitsP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001466/2.42, allocations: 135.3 kB / 0.707 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/2.42, allocations: 31.8 kB / 0.707 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008205/2.421, allocations: 0.5849 MB / 0.7076 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003799/2.421, allocations: 210.4 kB / 0.7078 GB, free: 92 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/2.421, allocations: 0.6875 kB / 0.7078 GB, free: 92 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/2.421, allocations: 0.6094 kB / 0.7078 GB, free: 92 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/2.422, allocations: 0.7094 MB / 0.7085 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/2.422, allocations: 4.5 kB / 0.7085 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.187e-05/2.422, allocations: 16.94 kB / 0.7085 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003987/2.423, allocations: 108.8 kB / 0.7086 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/2.423, allocations: 4.938 kB / 0.7086 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005777/2.423, allocations: 0.6588 MB / 0.7093 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/2.423, allocations: 9.234 kB / 0.7093 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/2.424, allocations: 329.1 kB / 0.7096 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.67e-05/2.424, allocations: 35.77 kB / 0.7096 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.765e-05/2.424, allocations: 20.33 kB / 0.7097 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/2.424, allocations: 0 / 0.7097 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/2.424, allocations: 16.05 kB / 0.7097 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/2.424, allocations: 4 kB / 0.7097 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002846/2.424, allocations: 239.1 kB / 0.7099 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/2.424, allocations: 0.8438 kB / 0.7099 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003209/2.427, allocations: 1.196 MB / 0.7111 GB, free: 12.66 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 10 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004944/2.432, allocations: 1.744 MB / 0.7128 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006008/2.433, allocations: 225.7 kB / 0.713 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/2.433, allocations: 0 / 0.713 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/2.433, allocations: 92.14 kB / 0.7131 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007432/2.434, allocations: 113.1 kB / 0.7132 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009731/2.435, allocations: 0.5488 MB / 0.7137 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/2.435, allocations: 0.7675 MB / 0.7145 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/2.435, allocations: 19.44 kB / 0.7145 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/2.435, allocations: 0 / 0.7145 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of Templates: time 0.03791/2.473, allocations: 24.99 MB / 0.7389 GB, free: 0.5664 MB / 0.5919 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.979818393941969] Failed to read output from testmodel.py, exit status != 0: 2.644942404003814 2.871657494 0.6511866439999999 Calling exit ...