Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.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.5304/0.5304, allocations: 111.6 MB / 131.4 MB, free: 4.449 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.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.756e-06/2.756e-06, allocations: 0 / 176.4 MB, free: 9.016 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/2.014e-05, allocations: 5.047 kB / 176.4 MB, free: 9.012 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.TestBend): time 1.057/1.057, allocations: 257.1 MB / 433.5 MB, free: 15.84 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02665/1.084, allocations: 33.03 MB / 466.6 MB, free: 14.68 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001997/1.084, allocations: 4 kB / 466.6 MB, free: 14.68 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/Bend.mo:35:3-36: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/Bend.mo:37:3-38:80: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.0004632/1.085, allocations: 278.8 kB / 466.8 MB, free: 14.41 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002639/1.085, allocations: 286.7 kB / 467.1 MB, free: 14.12 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.01785/1.103, allocations: 10.04 MB / 477.2 MB, free: 4.035 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005561/1.103, allocations: 0.5064 MB / 477.7 MB, free: 3.527 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/1.104, allocations: 172.8 kB / 477.8 MB, free: 3.355 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003236/1.104, allocations: 331.1 kB / 478.2 MB, free: 3.031 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/1.104, allocations: 283.4 kB / 478.4 MB, free: 2.754 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/1.104, allocations: 24 kB / 478.5 MB, free: 2.73 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2129/1.317, allocations: 16.9 MB / 495.4 MB, free: 8.75 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001635/1.317, allocations: 181.2 kB / 495.6 MB, free: 8.75 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002019/1.317, allocations: 157.1 kB / 495.7 MB, free: 8.75 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01464/1.332, allocations: 11.04 MB / 0.4949 GB, free: 4.203 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.332, allocations: 1.094 kB / 0.4949 GB, free: 4.203 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.343e-06/1.332, allocations: 0 / 0.4949 GB, free: 4.203 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.495e-06/1.332, allocations: 0 / 0.4949 GB, free: 4.203 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003283/1.335, allocations: 1.918 MB / 0.4967 GB, free: 2.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/1.335, allocations: 14.36 kB / 0.4968 GB, free: 2.836 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/1.336, allocations: 100.9 kB / 0.4969 GB, free: 2.785 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/1.336, allocations: 346.9 kB / 0.4972 GB, free: 2.508 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/1.336, allocations: 20.09 kB / 0.4972 GB, free: 2.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/1.336, allocations: 25.69 kB / 0.4972 GB, free: 2.492 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/1.336, allocations: 356.9 kB / 0.4976 GB, free: 2.191 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/1.336, allocations: 3.188 kB / 0.4976 GB, free: 2.191 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/1.336, allocations: 11.97 kB / 0.4976 GB, free: 2.184 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/1.336, allocations: 13.48 kB / 0.4976 GB, free: 2.176 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.783e-05/1.336, allocations: 98.48 kB / 0.4977 GB, free: 2.156 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.01489/1.351, allocations: 10.05 MB / 0.5075 GB, free: 10.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/1.351, allocations: 105 kB / 0.5076 GB, free: 10.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.578e-05/1.351, allocations: 39.67 kB / 0.5076 GB, free: 10.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06431/1.416, allocations: 38.17 MB / 0.5449 GB, free: 4.562 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/1.416, allocations: 37.3 kB / 0.545 GB, free: 4.52 MB / 474.7 MB Notification: Performance of pre-optimization done (n=38): time 2.545e-06/1.416, allocations: 0 / 0.545 GB, free: 4.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=38): time 0.001028/1.417, allocations: 398.6 kB / 0.5453 GB, free: 4.125 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/1.417, allocations: 102.8 kB / 0.5454 GB, free: 4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005329/1.417, allocations: 0.6696 MB / 0.5461 GB, free: 3.391 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/1.417, allocations: 25.7 kB / 0.5461 GB, free: 3.359 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/1.418, allocations: 383 kB / 0.5465 GB, free: 3.004 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.509e-05/1.418, allocations: 136.3 kB / 0.5466 GB, free: 2.879 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-05/1.418, allocations: 77.38 kB / 0.5467 GB, free: 2.805 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00042/1.418, allocations: 0.581 MB / 0.5473 GB, free: 2.246 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.971e-05/1.418, allocations: 36.47 kB / 0.5473 GB, free: 2.211 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/1.418, allocations: 202 kB / 0.5475 GB, free: 1.977 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/1.418, allocations: 179.8 kB / 0.5477 GB, free: 1.777 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.418, allocations: 0 / 0.5477 GB, free: 1.777 MB / 474.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003296/1.419, allocations: 306.9 kB / 0.5479 GB, free: 1.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.419, allocations: 15.78 kB / 0.548 GB, free: 1.469 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/1.419, allocations: 0.625 kB / 0.548 GB, free: 1.469 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007256/1.42, allocations: 174.2 kB / 0.5481 GB, free: 1.301 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.655e-05/1.42, allocations: 19.98 kB / 0.5481 GB, free: 1.281 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000494/1.42, allocations: 0.8914 MB / 0.549 GB, free: 380 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/1.42, allocations: 35.73 kB / 0.5491 GB, free: 344 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/1.42, allocations: 5.188 kB / 0.5491 GB, free: 340 kB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.C.b,SinkP1.C.a,Bend.C1.a,Bend.C2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001286/1.42, allocations: 175.7 kB / 0.5492 GB, free: 156 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/1.42, allocations: 63.58 kB / 0.5493 GB, free: 92 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005917/1.421, allocations: 0.7007 MB / 0.55 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001609/1.421, allocations: 176.4 kB / 0.5501 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/1.421, allocations: 0 / 0.5501 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.421, allocations: 0.6875 kB / 0.5501 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007496/1.422, allocations: 0.7506 MB / 0.5509 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/1.422, allocations: 0 / 0.5509 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.409e-05/1.422, allocations: 12 kB / 0.5509 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003811/1.422, allocations: 148.1 kB / 0.551 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/1.422, allocations: 10.78 kB / 0.551 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003802/1.423, allocations: 0.8868 MB / 0.5519 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.423, allocations: 4 kB / 0.5519 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/1.423, allocations: 402.2 kB / 0.5523 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.561e-05/1.423, allocations: 79.47 kB / 0.5524 GB, free: 12.92 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/1.423, allocations: 15.89 kB / 0.5524 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.31e-05/1.423, allocations: 4 kB / 0.5524 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/1.423, allocations: 19.53 kB / 0.5524 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/1.423, allocations: 4 kB / 0.5524 GB, free: 12.88 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002909/1.424, allocations: 460.2 kB / 0.5528 GB, free: 12.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.424, allocations: 4.031 kB / 0.5528 GB, free: 12.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002839/1.426, allocations: 1.282 MB / 0.5541 GB, free: 11.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 11 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00382/1.43, allocations: 2.054 MB / 0.5561 GB, free: 9.352 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004015/1.431, allocations: 216.3 kB / 0.5563 GB, free: 9.141 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/1.431, allocations: 4 kB / 0.5563 GB, free: 9.137 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/1.431, allocations: 95.25 kB / 0.5564 GB, free: 9.047 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005042/1.431, allocations: 141.2 kB / 0.5565 GB, free: 8.918 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/1.433, allocations: 0.9717 MB / 0.5575 GB, free: 7.926 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/1.433, allocations: 169.1 kB / 0.5577 GB, free: 7.742 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.456e-05/1.433, allocations: 37.41 kB / 0.5577 GB, free: 7.707 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/1.433, allocations: 166.1 kB / 0.5578 GB, free: 7.543 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/1.433, allocations: 0 / 0.5578 GB, free: 7.543 MB / 490.7 MB Notification: Performance of Templates: time 0.05246/1.486, allocations: 53.01 MB / 0.6096 GB, free: 2.82 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.3739236001856625]