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.4912/0.4912, allocations: 111.6 MB / 131.7 MB, free: 5.074 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.094e-06/2.094e-06, allocations: 0 / 176.4 MB, free: 9.52 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.569e-05, allocations: 5.047 kB / 176.4 MB, free: 9.516 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.171/1.171, allocations: 257 MB / 433.4 MB, free: 340 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03063/1.201, allocations: 33.54 MB / 467 MB, free: 14.66 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003701/1.202, allocations: 8 kB / 467 MB, free: 14.65 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.0006157/1.202, allocations: 282.8 kB / 467.3 MB, free: 14.38 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/1.203, allocations: 282.7 kB / 467.5 MB, free: 14.1 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.01957/1.222, allocations: 10.02 MB / 477.6 MB, free: 4.027 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006144/1.223, allocations: 0.5142 MB / 478.1 MB, free: 3.512 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/1.223, allocations: 168.8 kB / 478.2 MB, free: 3.344 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003458/1.223, allocations: 327.1 kB / 478.6 MB, free: 3.023 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/1.224, allocations: 287.4 kB / 478.8 MB, free: 2.742 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/1.224, allocations: 24 kB / 478.9 MB, free: 2.719 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2193/1.443, allocations: 16.91 MB / 495.8 MB, free: 8.336 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002291/1.443, allocations: 177.7 kB / 496 MB, free: 8.336 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002815/1.444, allocations: 154.8 kB / 496.1 MB, free: 8.336 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02038/1.464, allocations: 11.04 MB / 0.4953 GB, free: 3.801 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/1.464, allocations: 2.469 kB / 0.4953 GB, free: 3.801 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.913e-06/1.464, allocations: 1.531 kB / 0.4953 GB, free: 3.801 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.795e-05/1.464, allocations: 0 / 0.4953 GB, free: 3.801 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.004417/1.468, allocations: 1.913 MB / 0.4971 GB, free: 2.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/1.468, allocations: 13.39 kB / 0.4971 GB, free: 2.406 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/1.469, allocations: 96.33 kB / 0.4972 GB, free: 2.355 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/1.469, allocations: 368 kB / 0.4976 GB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/1.469, allocations: 17.78 kB / 0.4976 GB, free: 2.066 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/1.469, allocations: 25.06 kB / 0.4976 GB, free: 2.059 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/1.469, allocations: 380.6 kB / 0.498 GB, free: 1.734 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.469, allocations: 4.406 kB / 0.498 GB, free: 1.734 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/1.469, allocations: 11.19 kB / 0.498 GB, free: 1.727 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/1.469, allocations: 17.77 kB / 0.498 GB, free: 1.719 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/1.47, allocations: 112 kB / 0.4981 GB, free: 1.695 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.01917/1.489, allocations: 11.57 MB / 0.5094 GB, free: 9.285 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/1.489, allocations: 115.9 kB / 0.5095 GB, free: 9.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.599e-05/1.489, allocations: 44.66 kB / 0.5096 GB, free: 9.113 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07672/1.566, allocations: 43.78 MB / 0.5523 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/1.566, allocations: 41.38 kB / 0.5524 GB, free: 13.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=38): time 2.645e-06/1.566, allocations: 0 / 0.5524 GB, free: 13.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=38): time 0.001146/1.567, allocations: 412.6 kB / 0.5528 GB, free: 12.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/1.567, allocations: 106.8 kB / 0.5529 GB, free: 12.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006733/1.568, allocations: 0.6831 MB / 0.5535 GB, free: 12.06 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/1.568, allocations: 29.7 kB / 0.5536 GB, free: 12.03 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/1.568, allocations: 373.3 kB / 0.5539 GB, free: 11.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.089e-05/1.568, allocations: 132.3 kB / 0.554 GB, free: 11.53 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.838e-05/1.568, allocations: 79.28 kB / 0.5541 GB, free: 11.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/1.568, allocations: 0.5626 MB / 0.5547 GB, free: 10.87 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.396e-05/1.568, allocations: 44.47 kB / 0.5547 GB, free: 10.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/1.569, allocations: 212.3 kB / 0.5549 GB, free: 10.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/1.569, allocations: 199.2 kB / 0.5551 GB, free: 10.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.569, allocations: 0 / 0.5551 GB, free: 10.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004047/1.569, allocations: 337.1 kB / 0.5554 GB, free: 10.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/1.569, allocations: 4 kB / 0.5554 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.569, allocations: 4 kB / 0.5554 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008473/1.57, allocations: 194.3 kB / 0.5556 GB, free: 9.828 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.689e-05/1.57, allocations: 19.98 kB / 0.5556 GB, free: 9.809 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004998/1.571, allocations: 0.9002 MB / 0.5565 GB, free: 8.883 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/1.571, allocations: 35.67 kB / 0.5566 GB, free: 8.848 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/1.571, allocations: 8 kB / 0.5566 GB, free: 8.84 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.0001306/1.571, allocations: 179.9 kB / 0.5567 GB, free: 8.656 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/1.571, allocations: 60.61 kB / 0.5568 GB, free: 8.598 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005831/1.571, allocations: 0.6959 MB / 0.5575 GB, free: 7.809 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001864/1.572, allocations: 180.7 kB / 0.5576 GB, free: 7.625 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.572, allocations: 4 kB / 0.5576 GB, free: 7.621 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.572, allocations: 0 / 0.5576 GB, free: 7.621 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009287/1.573, allocations: 0.8765 MB / 0.5585 GB, free: 6.711 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.573, allocations: 4 kB / 0.5585 GB, free: 6.707 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.208e-05/1.573, allocations: 12 kB / 0.5585 GB, free: 6.695 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005829/1.573, allocations: 147.5 kB / 0.5587 GB, free: 6.547 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/1.573, allocations: 8.656 kB / 0.5587 GB, free: 6.539 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005061/1.574, allocations: 0.8974 MB / 0.5595 GB, free: 5.613 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/1.574, allocations: 0 / 0.5595 GB, free: 5.613 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/1.574, allocations: 416.3 kB / 0.5599 GB, free: 5.184 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/1.574, allocations: 83.53 kB / 0.56 GB, free: 5.102 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.473e-05/1.575, allocations: 16.56 kB / 0.56 GB, free: 5.086 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/1.575, allocations: 4 kB / 0.56 GB, free: 5.082 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/1.575, allocations: 16.02 kB / 0.5601 GB, free: 5.066 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/1.575, allocations: 11.92 kB / 0.5601 GB, free: 5.055 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005448/1.575, allocations: 0.4911 MB / 0.5605 GB, free: 4.566 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/1.575, allocations: 0 / 0.5605 GB, free: 4.566 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003575/1.579, allocations: 1.282 MB / 0.5618 GB, free: 3.281 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.00581/1.585, allocations: 1.967 MB / 0.5637 GB, free: 1.551 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006723/1.585, allocations: 224.4 kB / 0.5639 GB, free: 1.328 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/1.585, allocations: 0 / 0.5639 GB, free: 1.328 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002128/1.586, allocations: 107.5 kB / 0.564 GB, free: 1.227 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008078/1.586, allocations: 151.2 kB / 0.5642 GB, free: 1.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/1.588, allocations: 0.9748 MB / 0.5651 GB, free: 92 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/1.588, allocations: 166.3 kB / 0.5653 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001322/1.588, allocations: 41.67 kB / 0.5653 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/1.589, allocations: 32.5 kB / 0.5654 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of SimCode: time 1.593e-06/1.589, allocations: 0 / 0.5654 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of Templates: time 0.05318/1.642, allocations: 45.99 MB / 0.6103 GB, free: 2.176 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.57131924200803]