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.8179/0.8179, allocations: 111.6 MB / 131 MB, free: 5.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.643e-06/1.643e-06, allocations: 0 / 175.7 MB, free: 9.508 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.369e-05, allocations: 2.312 kB / 175.7 MB, free: 9.504 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.728/1.728, allocations: 254.7 MB / 430.4 MB, free: 448 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.4536/2.182, allocations: 181.2 MB / 0.5972 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000257/2.182, allocations: 11.88 kB / 0.5972 GB, free: 10.96 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.000148/2.182, allocations: 39.58 kB / 0.5973 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003732/2.183, allocations: 130.8 kB / 0.5974 GB, free: 10.79 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.03234/2.215, allocations: 11.58 MB / 0.6087 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006908/2.216, allocations: 402.6 kB / 0.6091 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003071/2.216, allocations: 173.2 kB / 0.6093 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003363/2.216, allocations: 243.4 kB / 0.6095 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/2.217, allocations: 115.6 kB / 0.6096 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.949e-05/2.217, allocations: 40 kB / 0.6096 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03795/2.255, allocations: 18.65 MB / 0.6278 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001855/2.255, allocations: 87.67 kB / 0.6279 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.000236/2.255, allocations: 127.7 kB / 0.6281 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.02792/2.283, allocations: 12.34 MB / 0.6401 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/2.283, allocations: 0 / 0.6401 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.653e-06/2.283, allocations: 3.938 kB / 0.6401 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.105e-06/2.283, allocations: 0 / 0.6401 GB, free: 14.96 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.005227/2.288, allocations: 1.902 MB / 0.642 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/2.288, allocations: 11.98 kB / 0.642 GB, free: 13 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/2.288, allocations: 75.72 kB / 0.642 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/2.289, allocations: 262.8 kB / 0.6423 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.574e-05/2.289, allocations: 25 kB / 0.6423 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.255e-05/2.289, allocations: 36 kB / 0.6424 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000681/2.29, allocations: 382.5 kB / 0.6427 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/2.29, allocations: 0 / 0.6427 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/2.29, allocations: 19.94 kB / 0.6427 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/2.29, allocations: 8 kB / 0.6427 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004539/2.29, allocations: 214.5 kB / 0.643 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008432/2.299, allocations: 3.465 MB / 0.6463 GB, free: 8.41 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/2.299, allocations: 75.61 kB / 0.6464 GB, free: 8.324 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.449e-05/2.299, allocations: 35.7 kB / 0.6464 GB, free: 8.285 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2554/2.554, allocations: 67.35 MB / 0.7122 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/2.554, allocations: 37.39 kB / 0.7123 GB, free: 4.805 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/2.554, allocations: 4 kB / 0.7123 GB, free: 4.801 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.001178/2.556, allocations: 202.6 kB / 0.7125 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/2.556, allocations: 55.39 kB / 0.7125 GB, free: 4.527 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000506/2.556, allocations: 402 kB / 0.7129 GB, free: 4.121 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/2.556, allocations: 29.7 kB / 0.7129 GB, free: 4.086 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/2.556, allocations: 294.7 kB / 0.7132 GB, free: 3.793 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/2.556, allocations: 27.78 kB / 0.7132 GB, free: 3.766 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/2.557, allocations: 79.27 kB / 0.7133 GB, free: 3.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002896/2.557, allocations: 0.5157 MB / 0.7138 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/2.557, allocations: 39.98 kB / 0.7138 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/2.557, allocations: 184.1 kB / 0.714 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/2.558, allocations: 232 kB / 0.7142 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/2.558, allocations: 0 / 0.7142 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005894/2.558, allocations: 277.3 kB / 0.7145 GB, free: 2.301 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/2.558, allocations: 17.33 kB / 0.7145 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/2.558, allocations: 5.438 kB / 0.7145 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000788/2.559, allocations: 107.9 kB / 0.7146 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/2.559, allocations: 39.92 kB / 0.7147 GB, free: 2.133 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007194/2.56, allocations: 0.8631 MB / 0.7155 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/2.56, allocations: 23.78 kB / 0.7155 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/2.56, allocations: 12 kB / 0.7155 GB, free: 1.203 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 0.0002057/2.56, allocations: 197 kB / 0.7157 GB, free: 1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/2.56, allocations: 23.86 kB / 0.7158 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004522/2.561, allocations: 178.8 kB / 0.7159 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/2.561, allocations: 0 / 0.7159 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/2.561, allocations: 4 kB / 0.7159 GB, free: 0.7852 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/2.561, allocations: 3.938 kB / 0.7159 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/2.561, allocations: 280.5 kB / 0.7162 GB, free: 484 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/2.561, allocations: 0 / 0.7162 GB, free: 484 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.558e-05/2.561, allocations: 4 kB / 0.7162 GB, free: 480 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004342/2.561, allocations: 75.62 kB / 0.7163 GB, free: 400 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/2.561, allocations: 4 kB / 0.7163 GB, free: 396 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1523/2.714, allocations: 0.8596 MB / 0.7171 GB, free: 296.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/2.714, allocations: 2.219 kB / 0.7171 GB, free: 296.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003625/2.714, allocations: 176.1 kB / 0.7173 GB, free: 296.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/2.714, allocations: 33.95 kB / 0.7173 GB, free: 296.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/2.714, allocations: 3.75 kB / 0.7173 GB, free: 296.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.672e-05/2.714, allocations: 3.328 kB / 0.7173 GB, free: 296.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/2.714, allocations: 6.516 kB / 0.7173 GB, free: 296.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/2.714, allocations: 7.203 kB / 0.7173 GB, free: 296.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002178/2.715, allocations: 248.1 kB / 0.7176 GB, free: 296.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/2.715, allocations: 1.031 kB / 0.7176 GB, free: 296.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003158/2.718, allocations: 1.474 MB / 0.719 GB, free: 296.1 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.005628/2.723, allocations: 2.402 MB / 0.7214 GB, free: 296 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004139/2.724, allocations: 130.9 kB / 0.7215 GB, free: 296 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/2.724, allocations: 0 / 0.7215 GB, free: 296 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.557e-05/2.724, allocations: 46.16 kB / 0.7215 GB, free: 296 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/2.724, allocations: 67.94 kB / 0.7216 GB, free: 296 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008101/2.725, allocations: 496.7 kB / 0.7221 GB, free: 295.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/2.725, allocations: 170.1 kB / 0.7222 GB, free: 295.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.787e-05/2.725, allocations: 37.91 kB / 0.7223 GB, free: 295.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/2.725, allocations: 19.5 kB / 0.7223 GB, free: 295.6 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/2.725, allocations: 1.875 kB / 0.7223 GB, free: 295.6 MB / 0.6198 GB Notification: Performance of Templates: time 0.04847/2.774, allocations: 46.46 MB / 0.7677 GB, free: 251.3 MB / 0.6198 GB " [Timeout remaining time 657] 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: 8.979576903977431]