Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.4876/0.4876, allocations: 111.6 MB / 131.5 MB, free: 4.418 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.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 176.6 MB, free: 8.973 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.249e-05/1.405e-05, allocations: 2.312 kB / 176.6 MB, free: 8.969 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.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss): time 1.071/1.071, allocations: 262.8 MB / 439.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02913/1.1, allocations: 32.96 MB / 472.3 MB, free: 13.62 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/1.101, allocations: 4 kB / 472.3 MB, free: 13.61 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20:78: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:19:3-20:80: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:21:3-22:80: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:23:3-24:78: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.0004785/1.101, allocations: 107.4 kB / 472.4 MB, free: 13.51 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/1.101, allocations: 119.1 kB / 472.5 MB, free: 13.39 MB / 426.7 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.01942/1.121, allocations: 9.88 MB / 482.4 MB, free: 3.465 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004059/1.121, allocations: 366.1 kB / 482.7 MB, free: 3.102 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/1.121, allocations: 98.72 kB / 482.8 MB, free: 3.008 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/1.122, allocations: 223.3 kB / 483.1 MB, free: 2.789 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.968e-05/1.122, allocations: 75.81 kB / 483.1 MB, free: 2.715 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/1.122, allocations: 16 kB / 483.1 MB, free: 2.699 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2305/1.352, allocations: 16.78 MB / 499.9 MB, free: 8.555 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.776e-05/1.352, allocations: 45.41 kB / 500 MB, free: 8.555 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001738/1.352, allocations: 86.42 kB / 0.4883 GB, free: 8.555 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01767/1.37, allocations: 10.74 MB / 0.4988 GB, free: 3.934 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.37, allocations: 0 / 0.4988 GB, free: 3.934 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.363e-06/1.37, allocations: 0.5938 kB / 0.4988 GB, free: 3.934 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/1.37, allocations: 0 / 0.4988 GB, free: 3.934 MB / 426.7 MB 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.002965/1.373, allocations: 1.384 MB / 0.5002 GB, free: 2.996 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/1.373, allocations: 12.27 kB / 0.5002 GB, free: 2.992 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/1.373, allocations: 29.27 kB / 0.5002 GB, free: 2.984 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/1.373, allocations: 162.5 kB / 0.5004 GB, free: 2.832 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/1.373, allocations: 12.69 kB / 0.5004 GB, free: 2.828 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/1.373, allocations: 22.09 kB / 0.5004 GB, free: 2.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/1.373, allocations: 228.3 kB / 0.5006 GB, free: 2.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/1.373, allocations: 0.6875 kB / 0.5006 GB, free: 2.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/1.373, allocations: 14.03 kB / 0.5006 GB, free: 2.652 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/1.373, allocations: 16.61 kB / 0.5006 GB, free: 2.645 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.94e-05/1.374, allocations: 75.64 kB / 0.5007 GB, free: 2.629 MB / 426.7 MB 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.01292/1.386, allocations: 9.159 MB / 0.5097 GB, free: 12.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/1.387, allocations: 102.5 kB / 0.5098 GB, free: 12.39 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/1.387, allocations: 24.86 kB / 0.5098 GB, free: 12.36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06221/1.449, allocations: 39.06 MB / 0.5479 GB, free: 5.445 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/1.449, allocations: 30.56 kB / 0.548 GB, free: 5.406 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 2.484e-06/1.449, allocations: 2.062 kB / 0.548 GB, free: 5.406 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004962/1.449, allocations: 217.2 kB / 0.5482 GB, free: 5.191 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/1.449, allocations: 51.41 kB / 0.5482 GB, free: 5.129 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/1.45, allocations: 171.6 kB / 0.5484 GB, free: 4.965 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/1.45, allocations: 25.7 kB / 0.5484 GB, free: 4.934 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/1.45, allocations: 158 kB / 0.5486 GB, free: 4.781 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.17e-05/1.45, allocations: 118 kB / 0.5487 GB, free: 4.672 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/1.45, allocations: 42.06 kB / 0.5487 GB, free: 4.633 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.027e-05/1.45, allocations: 341 kB / 0.549 GB, free: 4.301 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.256e-05/1.45, allocations: 34.77 kB / 0.5491 GB, free: 4.266 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.006e-05/1.45, allocations: 67.56 kB / 0.5491 GB, free: 4.195 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.984e-05/1.45, allocations: 113.7 kB / 0.5492 GB, free: 4.078 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.45, allocations: 0 / 0.5492 GB, free: 4.078 MB / 474.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0001741/1.45, allocations: 172 kB / 0.5494 GB, free: 3.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/1.45, allocations: 4 kB / 0.5494 GB, free: 3.906 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.45, allocations: 7.984 kB / 0.5494 GB, free: 3.898 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003402/1.45, allocations: 86.64 kB / 0.5495 GB, free: 3.812 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.942e-05/1.451, allocations: 8 kB / 0.5495 GB, free: 3.805 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003471/1.451, allocations: 0.5819 MB / 0.5501 GB, free: 3.207 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.873e-05/1.451, allocations: 19.78 kB / 0.5501 GB, free: 3.188 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/1.451, allocations: 4 kB / 0.5501 GB, free: 3.184 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.C.b,PuitsP1.C.a,pipePressureLoss.C1.a,pipePressureLoss.C2.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 7.62e-05/1.451, allocations: 115 kB / 0.5502 GB, free: 3.062 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/1.451, allocations: 15.98 kB / 0.5502 GB, free: 3.047 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000371/1.451, allocations: 0.5139 MB / 0.5507 GB, free: 2.547 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001143/1.452, allocations: 134.3 kB / 0.5508 GB, free: 2.414 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/1.452, allocations: 0.875 kB / 0.5508 GB, free: 2.414 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/1.452, allocations: 3.984 kB / 0.5509 GB, free: 2.41 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/1.452, allocations: 0.4965 MB / 0.5513 GB, free: 1.918 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.452, allocations: 0 / 0.5513 GB, free: 1.918 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.027e-05/1.452, allocations: 15.09 kB / 0.5514 GB, free: 1.906 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001513/1.452, allocations: 82.55 kB / 0.5514 GB, free: 1.824 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/1.452, allocations: 5.188 kB / 0.5514 GB, free: 1.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002265/1.452, allocations: 0.5841 MB / 0.552 GB, free: 1.215 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/1.452, allocations: 0 / 0.552 GB, free: 1.215 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/1.453, allocations: 300.4 kB / 0.5523 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/1.453, allocations: 16.41 kB / 0.5523 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/1.453, allocations: 19.44 kB / 0.5523 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.454e-05/1.453, allocations: 11.97 kB / 0.5523 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/1.453, allocations: 7.984 kB / 0.5523 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/1.453, allocations: 8.5 kB / 0.5524 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.42e-05/1.453, allocations: 84.11 kB / 0.5524 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of sort global known variables: time 4e-08/1.453, allocations: 0 / 0.5524 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00231/1.455, allocations: 1.208 MB / 0.5536 GB, free: 15.57 MB / 490.7 MB 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.003032/1.458, allocations: 2.028 MB / 0.5556 GB, free: 13.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002315/1.458, allocations: 172.4 kB / 0.5558 GB, free: 13.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.458, allocations: 4 kB / 0.5558 GB, free: 13.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.037e-05/1.458, allocations: 59.86 kB / 0.5558 GB, free: 13.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/1.459, allocations: 117.4 kB / 0.5559 GB, free: 13.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007444/1.459, allocations: 0.4907 MB / 0.5564 GB, free: 12.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.485e-05/1.459, allocations: 88.31 kB / 0.5565 GB, free: 12.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.061e-05/1.46, allocations: 15.08 kB / 0.5565 GB, free: 12.81 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/1.46, allocations: 111.3 kB / 0.5566 GB, free: 12.7 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/1.46, allocations: 0 / 0.5566 GB, free: 12.7 MB / 490.7 MB Notification: Performance of Templates: time 0.04422/1.504, allocations: 48.91 MB / 0.6044 GB, free: 12.07 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.088047237601131]