Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.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.4997/0.4997, allocations: 111.6 MB / 131.7 MB, free: 5.051 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.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend") translateModel(ThermoSysPro.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 176.5 MB, free: 9.422 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.253e-05, allocations: 5.047 kB / 176.5 MB, free: 9.418 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.SimpleExamples.TestBend): time 1.061/1.062, allocations: 257.1 MB / 433.6 MB, free: 264 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0281/1.09, allocations: 33.55 MB / 467.2 MB, free: 14.58 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/1.09, allocations: 4 kB / 467.2 MB, free: 14.58 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.0004778/1.09, allocations: 274.9 kB / 467.4 MB, free: 14.31 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002665/1.091, allocations: 290.7 kB / 467.7 MB, free: 14.02 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.01889/1.109, allocations: 10.02 MB / 477.7 MB, free: 3.961 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007304/1.11, allocations: 0.5141 MB / 478.3 MB, free: 3.445 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/1.11, allocations: 176.8 kB / 478.4 MB, free: 3.27 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003681/1.111, allocations: 327.1 kB / 478.8 MB, free: 2.949 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/1.111, allocations: 283.4 kB / 479 MB, free: 2.672 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/1.111, allocations: 24 kB / 479.1 MB, free: 2.648 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2059/1.317, allocations: 16.91 MB / 496 MB, free: 8.309 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001838/1.317, allocations: 177 kB / 496.1 MB, free: 8.309 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002334/1.317, allocations: 155.1 kB / 496.3 MB, free: 8.309 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01803/1.335, allocations: 11.04 MB / 0.4954 GB, free: 3.707 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/1.335, allocations: 3.656 kB / 0.4954 GB, free: 3.707 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.335, allocations: 0.5938 kB / 0.4954 GB, free: 3.707 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.699e-05/1.335, allocations: 0 / 0.4954 GB, free: 3.707 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.004113/1.34, allocations: 1.915 MB / 0.4973 GB, free: 2.316 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.34, allocations: 15.67 kB / 0.4973 GB, free: 2.312 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/1.34, allocations: 97.92 kB / 0.4974 GB, free: 2.262 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/1.34, allocations: 361.2 kB / 0.4978 GB, free: 1.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/1.34, allocations: 19.56 kB / 0.4978 GB, free: 1.973 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/1.34, allocations: 25.12 kB / 0.4978 GB, free: 1.965 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003546/1.341, allocations: 381.4 kB / 0.4982 GB, free: 1.645 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/1.341, allocations: 1.531 kB / 0.4982 GB, free: 1.645 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/1.341, allocations: 11.09 kB / 0.4982 GB, free: 1.637 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/1.341, allocations: 11 kB / 0.4982 GB, free: 1.637 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/1.341, allocations: 119.2 kB / 0.4983 GB, free: 1.605 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.01896/1.36, allocations: 11.57 MB / 0.5096 GB, free: 9.141 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003811/1.36, allocations: 107.1 kB / 0.5097 GB, free: 9.023 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.514e-05/1.36, allocations: 43.67 kB / 0.5097 GB, free: 8.977 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07544/1.436, allocations: 43.78 MB / 0.5525 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/1.436, allocations: 41.39 kB / 0.5525 GB, free: 13.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=38): time 2.074e-06/1.436, allocations: 0 / 0.5525 GB, free: 13.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=38): time 0.001098/1.437, allocations: 415.9 kB / 0.5529 GB, free: 12.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/1.437, allocations: 106.8 kB / 0.553 GB, free: 12.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006158/1.437, allocations: 0.6831 MB / 0.5537 GB, free: 11.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/1.437, allocations: 29.7 kB / 0.5537 GB, free: 11.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/1.438, allocations: 375.2 kB / 0.5541 GB, free: 11.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.769e-05/1.438, allocations: 130.9 kB / 0.5542 GB, free: 11.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.152e-05/1.438, allocations: 75.3 kB / 0.5543 GB, free: 11.31 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004022/1.438, allocations: 0.5665 MB / 0.5548 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.424e-05/1.438, allocations: 44.47 kB / 0.5549 GB, free: 10.69 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/1.438, allocations: 208.4 kB / 0.5551 GB, free: 10.44 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/1.439, allocations: 202.1 kB / 0.5553 GB, free: 10.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.439, allocations: 0 / 0.5553 GB, free: 10.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003993/1.439, allocations: 330.8 kB / 0.5556 GB, free: 9.891 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/1.439, allocations: 4 kB / 0.5556 GB, free: 9.887 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.439, allocations: 4 kB / 0.5556 GB, free: 9.883 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008305/1.44, allocations: 196.9 kB / 0.5558 GB, free: 9.691 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.914e-05/1.44, allocations: 23.08 kB / 0.5558 GB, free: 9.672 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004948/1.44, allocations: 0.8973 MB / 0.5567 GB, free: 8.746 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/1.441, allocations: 35.67 kB / 0.5567 GB, free: 8.711 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/1.441, allocations: 11.98 kB / 0.5567 GB, free: 8.699 MB / 490.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 (Bend.C2.b,Bend.C1.a,SinkP1.C.a,SourceP1.C.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.0001373/1.441, allocations: 175.7 kB / 0.5569 GB, free: 8.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/1.441, allocations: 59.58 kB / 0.557 GB, free: 8.461 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000586/1.441, allocations: 0.696 MB / 0.5576 GB, free: 7.672 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001826/1.442, allocations: 192.9 kB / 0.5578 GB, free: 7.477 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/1.442, allocations: 0.75 kB / 0.5578 GB, free: 7.477 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.442, allocations: 0 / 0.5578 GB, free: 7.477 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008138/1.442, allocations: 0.8702 MB / 0.5587 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.442, allocations: 0 / 0.5587 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-05/1.442, allocations: 16.73 kB / 0.5587 GB, free: 6.559 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004323/1.443, allocations: 145 kB / 0.5588 GB, free: 6.414 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/1.443, allocations: 8 kB / 0.5588 GB, free: 6.406 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003943/1.443, allocations: 0.9006 MB / 0.5597 GB, free: 5.477 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.443, allocations: 4.031 kB / 0.5597 GB, free: 5.473 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/1.444, allocations: 411.9 kB / 0.5601 GB, free: 5.047 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.56e-05/1.444, allocations: 87.53 kB / 0.5602 GB, free: 4.961 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/1.444, allocations: 8.516 kB / 0.5602 GB, free: 4.953 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.86e-05/1.444, allocations: 8 kB / 0.5602 GB, free: 4.945 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/1.444, allocations: 15.97 kB / 0.5602 GB, free: 4.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/1.444, allocations: 8.5 kB / 0.5602 GB, free: 4.922 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003817/1.444, allocations: 0.4942 MB / 0.5607 GB, free: 4.434 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/1.444, allocations: 0 / 0.5607 GB, free: 4.434 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002752/1.447, allocations: 1.286 MB / 0.562 GB, free: 3.145 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.003903/1.451, allocations: 1.961 MB / 0.5639 GB, free: 1.418 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005027/1.451, allocations: 229.4 kB / 0.5641 GB, free: 1.191 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.451, allocations: 0 / 0.5641 GB, free: 1.191 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/1.451, allocations: 104.9 kB / 0.5642 GB, free: 1.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005501/1.452, allocations: 150.3 kB / 0.5643 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/1.453, allocations: 0.9799 MB / 0.5653 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.867e-05/1.454, allocations: 161.2 kB / 0.5655 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000101/1.454, allocations: 41.23 kB / 0.5655 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/1.454, allocations: 28.5 kB / 0.5655 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of SimCode: time 1.843e-06/1.454, allocations: 0 / 0.5655 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of Templates: time 0.04433/1.498, allocations: 46 MB / 0.6104 GB, free: 2.039 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.169919027015567]