Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.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.4816/0.4816, allocations: 111.6 MB / 131.7 MB, free: 5.07 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 176.5 MB, free: 9.363 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.961e-05, allocations: 2.312 kB / 176.5 MB, free: 9.359 MB / 170.7 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.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss): time 1.03/1.03, allocations: 257 MB / 433.5 MB, free: 368 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3493/1.379, allocations: 181.2 MB / 0.6002 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/1.379, allocations: 7.938 kB / 0.6003 GB, free: 1.332 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:32:3-33:80:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/PipePressureLoss.mo:26:3-27:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/PipePressureLoss.mo:28:3-29:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0001119/1.379, allocations: 43.52 kB / 0.6003 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002819/1.38, allocations: 134.8 kB / 0.6004 GB, free: 1.156 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88:writable] Warning: T 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.01975/1.399, allocations: 11.58 MB / 0.6117 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003784/1.4, allocations: 410.6 kB / 0.6121 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/1.4, allocations: 169.1 kB / 0.6123 GB, free: 4.98 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/1.4, allocations: 239.5 kB / 0.6125 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/1.4, allocations: 123.6 kB / 0.6126 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/1.4, allocations: 36 kB / 0.6127 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02079/1.421, allocations: 18.64 MB / 0.6309 GB, free: 1.922 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 9.826e-05/1.421, allocations: 91.61 kB / 0.631 GB, free: 1.832 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/1.421, allocations: 127.8 kB / 0.6311 GB, free: 1.707 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0149/1.436, allocations: 12.21 MB / 0.643 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.436, allocations: 0 / 0.643 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.212e-06/1.436, allocations: 0 / 0.643 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.672e-06/1.436, allocations: 0 / 0.643 GB, free: 5.469 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.002198/1.438, allocations: 1.871 MB / 0.6448 GB, free: 3.551 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/1.438, allocations: 19.97 kB / 0.6448 GB, free: 3.531 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.436e-05/1.438, allocations: 76.34 kB / 0.6449 GB, free: 3.457 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/1.439, allocations: 262.8 kB / 0.6452 GB, free: 3.172 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/1.439, allocations: 25 kB / 0.6452 GB, free: 3.148 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/1.439, allocations: 32 kB / 0.6452 GB, free: 3.117 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/1.439, allocations: 326.6 kB / 0.6455 GB, free: 2.762 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/1.439, allocations: 0 / 0.6455 GB, free: 2.762 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/1.439, allocations: 19.94 kB / 0.6456 GB, free: 2.742 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/1.439, allocations: 8.688 kB / 0.6456 GB, free: 2.734 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/1.439, allocations: 139.7 kB / 0.6457 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003784/1.443, allocations: 3.351 MB / 0.649 GB, free: 15.18 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/1.443, allocations: 67.05 kB / 0.649 GB, free: 15.11 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/1.443, allocations: 19.77 kB / 0.649 GB, free: 15.08 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.246/1.689, allocations: 67.34 MB / 0.7148 GB, free: 297.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/1.689, allocations: 34.45 kB / 0.7148 GB, free: 297.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/1.689, allocations: 0 / 0.7148 GB, free: 297.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005649/1.69, allocations: 181.7 kB / 0.715 GB, free: 297.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/1.69, allocations: 55.16 kB / 0.7151 GB, free: 297.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/1.69, allocations: 339.6 kB / 0.7154 GB, free: 297 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/1.69, allocations: 29.7 kB / 0.7154 GB, free: 297 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.243e-05/1.69, allocations: 286.9 kB / 0.7157 GB, free: 296.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/1.69, allocations: 30.05 kB / 0.7157 GB, free: 296.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/1.69, allocations: 71.02 kB / 0.7158 GB, free: 296.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.015e-05/1.69, allocations: 0.4976 MB / 0.7163 GB, free: 296.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.307e-05/1.69, allocations: 25.91 kB / 0.7163 GB, free: 296.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.206e-05/1.69, allocations: 166.5 kB / 0.7165 GB, free: 296.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/1.69, allocations: 207.1 kB / 0.7167 GB, free: 295.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.69, allocations: 0.6875 kB / 0.7167 GB, free: 295.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002873/1.691, allocations: 239 kB / 0.7169 GB, free: 295.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/1.691, allocations: 7.922 kB / 0.7169 GB, free: 295.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.691, allocations: 7.859 kB / 0.7169 GB, free: 295.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000434/1.691, allocations: 106.1 kB / 0.717 GB, free: 295.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.287e-05/1.691, allocations: 37.05 kB / 0.717 GB, free: 295.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002376/1.692, allocations: 0.8354 MB / 0.7179 GB, free: 294.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.273e-05/1.692, allocations: 25.08 kB / 0.7179 GB, free: 294.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/1.692, allocations: 15.08 kB / 0.7179 GB, free: 294.9 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,PuitsP1.fluid,pipePressureLoss.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,pipePressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 8.069e-05/1.692, allocations: 173.7 kB / 0.7181 GB, free: 294.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/1.692, allocations: 30.89 kB / 0.7181 GB, free: 294.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/1.692, allocations: 153.2 kB / 0.7182 GB, free: 294.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/1.692, allocations: 1.75 kB / 0.7182 GB, free: 294.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.692, allocations: 0 / 0.7182 GB, free: 294.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.692, allocations: 3.875 kB / 0.7182 GB, free: 294.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/1.692, allocations: 228.3 kB / 0.7185 GB, free: 294.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.692, allocations: 0.875 kB / 0.7185 GB, free: 294.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.163e-05/1.692, allocations: 3.781 kB / 0.7185 GB, free: 294.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002208/1.692, allocations: 73.08 kB / 0.7185 GB, free: 294.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/1.692, allocations: 2.375 kB / 0.7185 GB, free: 294.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001753/1.693, allocations: 0.8397 MB / 0.7194 GB, free: 293.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/1.693, allocations: 0 / 0.7194 GB, free: 293.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/1.693, allocations: 154.3 kB / 0.7195 GB, free: 293.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/1.693, allocations: 44.36 kB / 0.7195 GB, free: 293.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/1.693, allocations: 9.562 kB / 0.7196 GB, free: 293.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.822e-05/1.693, allocations: 4 kB / 0.7196 GB, free: 293.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/1.693, allocations: 7.234 kB / 0.7196 GB, free: 293.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/1.693, allocations: 2.5 kB / 0.7196 GB, free: 293.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.881e-05/1.693, allocations: 225.3 kB / 0.7198 GB, free: 293.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/1.693, allocations: 1.094 kB / 0.7198 GB, free: 293.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002266/1.695, allocations: 1.47 MB / 0.7212 GB, free: 292.9 MB / 0.6198 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 (2): * Single equations (assignments): 1 * 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.003713/1.699, allocations: 2.403 MB / 0.7236 GB, free: 291.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002132/1.699, allocations: 105.8 kB / 0.7237 GB, free: 291 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/1.699, allocations: 0 / 0.7237 GB, free: 291 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.749e-05/1.699, allocations: 35.61 kB / 0.7237 GB, free: 290.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/1.699, allocations: 60.7 kB / 0.7238 GB, free: 290.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008678/1.7, allocations: 0.4997 MB / 0.7242 GB, free: 290.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.234e-05/1.7, allocations: 88.31 kB / 0.7243 GB, free: 290.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.948e-05/1.7, allocations: 33.8 kB / 0.7244 GB, free: 290.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/1.7, allocations: 20.5 kB / 0.7244 GB, free: 290.2 MB / 0.6198 GB Notification: Performance of SimCode: time 9.01e-07/1.7, allocations: 0 / 0.7244 GB, free: 290.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.03188/1.732, allocations: 46.45 MB / 0.7697 GB, free: 244 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.166226712055504]