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.5271/0.5271, allocations: 111.6 MB / 132.2 MB, free: 4.43 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.124e-06/2.124e-06, allocations: 0 / 177.2 MB, free: 9.012 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.39e-05, allocations: 2.312 kB / 177.2 MB, free: 9.008 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.128/1.128, allocations: 257.1 MB / 434.3 MB, free: 188 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02792/1.156, allocations: 33.03 MB / 467.3 MB, free: 15.03 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00024/1.156, allocations: 4 kB / 467.4 MB, free: 15.02 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.00041/1.157, allocations: 274.9 kB / 467.6 MB, free: 14.75 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003148/1.157, allocations: 286.7 kB / 467.9 MB, free: 14.47 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.01965/1.177, allocations: 10.04 MB / 477.9 MB, free: 4.387 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006455/1.177, allocations: 0.5063 MB / 478.4 MB, free: 3.879 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/1.177, allocations: 176.7 kB / 478.6 MB, free: 3.703 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003167/1.178, allocations: 323.2 kB / 478.9 MB, free: 3.387 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/1.178, allocations: 287.4 kB / 479.2 MB, free: 3.105 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/1.178, allocations: 24 kB / 479.2 MB, free: 3.082 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2369/1.415, allocations: 16.91 MB / 496.1 MB, free: 8.52 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/1.415, allocations: 180.4 kB / 496.3 MB, free: 8.52 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002018/1.415, allocations: 152.9 kB / 496.5 MB, free: 8.52 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02348/1.439, allocations: 11.05 MB / 0.4956 GB, free: 4.227 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/1.439, allocations: 3.469 kB / 0.4956 GB, free: 4.227 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.874e-06/1.439, allocations: 0 / 0.4956 GB, free: 4.227 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.256e-06/1.439, allocations: 0 / 0.4956 GB, free: 4.227 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.004391/1.443, allocations: 1.913 MB / 0.4975 GB, free: 2.867 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/1.443, allocations: 12.98 kB / 0.4975 GB, free: 2.863 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/1.443, allocations: 97.83 kB / 0.4976 GB, free: 2.812 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/1.444, allocations: 347.9 kB / 0.4979 GB, free: 2.535 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/1.444, allocations: 20.31 kB / 0.498 GB, free: 2.527 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/1.444, allocations: 25.91 kB / 0.498 GB, free: 2.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/1.444, allocations: 362.6 kB / 0.4983 GB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/1.444, allocations: 0 / 0.4983 GB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/1.444, allocations: 11.09 kB / 0.4983 GB, free: 2.207 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/1.444, allocations: 17 kB / 0.4984 GB, free: 2.203 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/1.444, allocations: 93.39 kB / 0.4984 GB, free: 2.184 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.01663/1.461, allocations: 10.02 MB / 0.5082 GB, free: 11.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/1.461, allocations: 110.2 kB / 0.5083 GB, free: 11.03 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.502e-05/1.461, allocations: 39.23 kB / 0.5084 GB, free: 10.99 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06873/1.53, allocations: 37.9 MB / 0.5454 GB, free: 5.113 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/1.53, allocations: 45.39 kB / 0.5454 GB, free: 5.059 MB / 474.7 MB Notification: Performance of pre-optimization done (n=38): time 1.312e-06/1.53, allocations: 0 / 0.5454 GB, free: 5.059 MB / 474.7 MB Notification: Performance of matching and sorting (n=38): time 0.0009402/1.531, allocations: 374.6 kB / 0.5458 GB, free: 4.688 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/1.531, allocations: 106.8 kB / 0.5459 GB, free: 4.559 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005466/1.531, allocations: 0.6681 MB / 0.5465 GB, free: 3.953 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/1.531, allocations: 29.7 kB / 0.5466 GB, free: 3.918 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/1.532, allocations: 379.7 kB / 0.5469 GB, free: 3.566 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.439e-05/1.532, allocations: 140.5 kB / 0.5471 GB, free: 3.441 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.956e-05/1.532, allocations: 74.95 kB / 0.5471 GB, free: 3.367 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001863/1.532, allocations: 0.5797 MB / 0.5477 GB, free: 2.809 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.668e-05/1.532, allocations: 28.48 kB / 0.5477 GB, free: 2.781 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/1.532, allocations: 199.7 kB / 0.5479 GB, free: 2.543 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/1.532, allocations: 188.1 kB / 0.5481 GB, free: 2.34 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.532, allocations: 0.5 kB / 0.5481 GB, free: 2.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003237/1.533, allocations: 304.9 kB / 0.5484 GB, free: 2.047 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/1.533, allocations: 11.5 kB / 0.5484 GB, free: 2.039 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.533, allocations: 8.219 kB / 0.5484 GB, free: 2.031 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007065/1.533, allocations: 163.3 kB / 0.5486 GB, free: 1.875 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.52e-05/1.533, allocations: 29.72 kB / 0.5486 GB, free: 1.848 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005118/1.534, allocations: 0.8815 MB / 0.5495 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/1.534, allocations: 35.72 kB / 0.5495 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/1.534, allocations: 8 kB / 0.5495 GB, free: 0.9023 MB / 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.0001208/1.534, allocations: 176.7 kB / 0.5497 GB, free: 0.7227 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/1.534, allocations: 67.61 kB / 0.5497 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005051/1.535, allocations: 0.683 MB / 0.5504 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001378/1.535, allocations: 168.4 kB / 0.5506 GB, free: 15.81 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/1.535, allocations: 0 / 0.5506 GB, free: 15.81 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.535, allocations: 0 / 0.5506 GB, free: 15.81 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006838/1.536, allocations: 0.7439 MB / 0.5513 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.536, allocations: 0 / 0.5513 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-05/1.536, allocations: 17.22 kB / 0.5513 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003995/1.536, allocations: 140.9 kB / 0.5514 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/1.536, allocations: 8 kB / 0.5514 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003805/1.536, allocations: 0.8853 MB / 0.5523 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.536, allocations: 0 / 0.5523 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/1.537, allocations: 403.9 kB / 0.5527 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.408e-05/1.537, allocations: 79.47 kB / 0.5528 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/1.537, allocations: 15.89 kB / 0.5528 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.395e-05/1.537, allocations: 8.812 kB / 0.5528 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/1.537, allocations: 11.97 kB / 0.5528 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/1.537, allocations: 4 kB / 0.5528 GB, free: 13.49 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003129/1.537, allocations: 469.9 kB / 0.5533 GB, free: 13.07 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/1.537, allocations: 0 / 0.5533 GB, free: 13.07 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003207/1.54, allocations: 1.278 MB / 0.5545 GB, free: 11.79 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.005318/1.546, allocations: 2.047 MB / 0.5565 GB, free: 9.973 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005049/1.546, allocations: 213 kB / 0.5567 GB, free: 9.766 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/1.546, allocations: 0 / 0.5567 GB, free: 9.766 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001441/1.546, allocations: 100.2 kB / 0.5568 GB, free: 9.672 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005912/1.547, allocations: 143 kB / 0.5569 GB, free: 9.543 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/1.548, allocations: 0.9687 MB / 0.5579 GB, free: 8.551 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/1.548, allocations: 169.1 kB / 0.558 GB, free: 8.367 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001219/1.549, allocations: 41.97 kB / 0.5581 GB, free: 8.328 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/1.549, allocations: 170.1 kB / 0.5582 GB, free: 8.16 MB / 490.7 MB Notification: Performance of SimCode: time 1.754e-06/1.549, allocations: 0 / 0.5582 GB, free: 8.16 MB / 490.7 MB Notification: Performance of Templates: time 0.05462/1.603, allocations: 53.11 MB / 0.6101 GB, free: 3.379 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.954398325178772]