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.5038/0.5038, allocations: 111.6 MB / 131.2 MB, free: 4.09 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.443e-06/1.443e-06, allocations: 0 / 176.2 MB, free: 9.188 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085e-05/1.229e-05, allocations: 5.375 kB / 176.2 MB, free: 9.184 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.017/1.017, allocations: 257 MB / 433.2 MB, free: 15.97 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.324/1.341, allocations: 181.6 MB / 0.6004 GB, free: 368 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/1.341, allocations: 11.88 kB / 0.6004 GB, free: 356 kB / 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.0001032/1.341, allocations: 43.58 kB / 0.6004 GB, free: 312 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0005071/1.342, allocations: 122.9 kB / 0.6005 GB, free: 188 kB / 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.02053/1.362, allocations: 11.6 MB / 0.6119 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003543/1.363, allocations: 410.5 kB / 0.6123 GB, free: 4.156 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/1.363, allocations: 173.1 kB / 0.6124 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/1.363, allocations: 247.4 kB / 0.6127 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/1.363, allocations: 119.6 kB / 0.6128 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/1.363, allocations: 32 kB / 0.6128 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02235/1.385, allocations: 18.65 MB / 0.631 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 9.594e-05/1.386, allocations: 87.67 kB / 0.6311 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/1.386, allocations: 127.7 kB / 0.6312 GB, free: 0.7109 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01583/1.402, allocations: 12.21 MB / 0.6431 GB, free: 4.473 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/1.402, allocations: 0 / 0.6431 GB, free: 4.473 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.573e-06/1.402, allocations: 4 kB / 0.6431 GB, free: 4.469 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.145e-06/1.402, allocations: 0 / 0.6431 GB, free: 4.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.003286/1.405, allocations: 1.875 MB / 0.645 GB, free: 2.547 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/1.405, allocations: 11.98 kB / 0.645 GB, free: 2.535 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.046e-05/1.405, allocations: 75.72 kB / 0.6451 GB, free: 2.461 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/1.405, allocations: 266.7 kB / 0.6453 GB, free: 2.172 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/1.405, allocations: 25.69 kB / 0.6453 GB, free: 2.148 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/1.405, allocations: 36 kB / 0.6454 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/1.406, allocations: 318.6 kB / 0.6457 GB, free: 1.766 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/1.406, allocations: 7.969 kB / 0.6457 GB, free: 1.758 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/1.406, allocations: 19.94 kB / 0.6457 GB, free: 1.738 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/1.406, allocations: 8 kB / 0.6457 GB, free: 1.73 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/1.406, allocations: 139.8 kB / 0.6458 GB, free: 1.594 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004008/1.41, allocations: 3.348 MB / 0.6491 GB, free: 14.18 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/1.41, allocations: 59.05 kB / 0.6492 GB, free: 14.11 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/1.41, allocations: 27.77 kB / 0.6492 GB, free: 14.08 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3153/1.725, allocations: 67.34 MB / 0.715 GB, free: 95.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/1.725, allocations: 36.3 kB / 0.715 GB, free: 95.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/1.725, allocations: 0 / 0.715 GB, free: 95.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000578/1.726, allocations: 183.2 kB / 0.7152 GB, free: 95.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.663e-05/1.726, allocations: 53.59 kB / 0.7152 GB, free: 95.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/1.726, allocations: 346 kB / 0.7155 GB, free: 95.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/1.726, allocations: 30.02 kB / 0.7156 GB, free: 95.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.589e-05/1.726, allocations: 282.5 kB / 0.7158 GB, free: 95.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/1.726, allocations: 29.72 kB / 0.7159 GB, free: 95.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/1.726, allocations: 70.66 kB / 0.7159 GB, free: 95.13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.905e-05/1.726, allocations: 0.5008 MB / 0.7164 GB, free: 94.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.326e-05/1.726, allocations: 23.64 kB / 0.7164 GB, free: 94.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.206e-05/1.727, allocations: 166.5 kB / 0.7166 GB, free: 94.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/1.727, allocations: 202.5 kB / 0.7168 GB, free: 94.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.727, allocations: 4.75 kB / 0.7168 GB, free: 94.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002875/1.727, allocations: 241.2 kB / 0.717 GB, free: 94.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/1.727, allocations: 7.469 kB / 0.717 GB, free: 94.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.727, allocations: 3.531 kB / 0.717 GB, free: 94.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004521/1.727, allocations: 107.3 kB / 0.7171 GB, free: 94.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.171e-05/1.727, allocations: 42.61 kB / 0.7172 GB, free: 94.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002525/1.728, allocations: 0.8261 MB / 0.718 GB, free: 93.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.29e-05/1.728, allocations: 27.7 kB / 0.718 GB, free: 93.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/1.728, allocations: 17.56 kB / 0.718 GB, free: 93.41 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 7.976e-05/1.728, allocations: 174.2 kB / 0.7182 GB, free: 93.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/1.728, allocations: 26.72 kB / 0.7182 GB, free: 93.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/1.728, allocations: 140.3 kB / 0.7184 GB, free: 93.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.728, allocations: 5.938 kB / 0.7184 GB, free: 93.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/1.728, allocations: 4.312 kB / 0.7184 GB, free: 93.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.728, allocations: 3.578 kB / 0.7184 GB, free: 93.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/1.728, allocations: 233 kB / 0.7186 GB, free: 93.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.728, allocations: 0 / 0.7186 GB, free: 93.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.768e-06/1.728, allocations: 2.344 kB / 0.7186 GB, free: 93.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002171/1.729, allocations: 75.02 kB / 0.7187 GB, free: 93.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/1.729, allocations: 1.062 kB / 0.7187 GB, free: 93.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001906/1.729, allocations: 0.8395 MB / 0.7195 GB, free: 92.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.729, allocations: 2.125 kB / 0.7195 GB, free: 92.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/1.729, allocations: 157.7 kB / 0.7196 GB, free: 92.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/1.729, allocations: 40.89 kB / 0.7197 GB, free: 92.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/1.729, allocations: 0.7969 kB / 0.7197 GB, free: 92.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.851e-05/1.729, allocations: 5.625 kB / 0.7197 GB, free: 92.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/1.729, allocations: 8.625 kB / 0.7197 GB, free: 92.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/1.729, allocations: 13.05 kB / 0.7197 GB, free: 92.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001141/1.729, allocations: 221.5 kB / 0.7199 GB, free: 91.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/1.729, allocations: 1.203 kB / 0.7199 GB, free: 91.99 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0024/1.732, allocations: 1.47 MB / 0.7214 GB, free: 91.98 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.003842/1.735, allocations: 2.405 MB / 0.7237 GB, free: 91.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000214/1.736, allocations: 103 kB / 0.7238 GB, free: 91.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/1.736, allocations: 0 / 0.7238 GB, free: 91.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.241e-05/1.736, allocations: 42.23 kB / 0.7238 GB, free: 91.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/1.736, allocations: 61.97 kB / 0.7239 GB, free: 91.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008521/1.737, allocations: 0.5012 MB / 0.7244 GB, free: 91.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.715e-05/1.737, allocations: 87.75 kB / 0.7245 GB, free: 91.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.854e-05/1.737, allocations: 36.91 kB / 0.7245 GB, free: 91.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.9e-05/1.737, allocations: 23.14 kB / 0.7245 GB, free: 91.44 MB / 0.6198 GB Notification: Performance of SimCode: time 6.92e-07/1.737, allocations: 0 / 0.7245 GB, free: 91.44 MB / 0.6198 GB Notification: Performance of Templates: time 0.03475/1.772, allocations: 46.45 MB / 0.7699 GB, free: 77.77 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.492288191337138]