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.4781/0.4781, allocations: 111.6 MB / 131.2 MB, free: 4.566 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 1.703e-06/1.703e-06, allocations: 0 / 176.1 MB, free: 9.234 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.531e-05/1.701e-05, allocations: 2.312 kB / 176.1 MB, free: 9.23 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 0.9988/0.9988, allocations: 257.1 MB / 433.2 MB, free: 304 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02682/1.026, allocations: 33.64 MB / 466.8 MB, free: 14.53 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/1.026, allocations: 4 kB / 466.8 MB, free: 14.52 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.0004461/1.026, allocations: 282.8 kB / 467.1 MB, free: 14.25 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002339/1.026, allocations: 282.8 kB / 467.4 MB, free: 13.97 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.01568/1.042, allocations: 10.03 MB / 477.4 MB, free: 3.891 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005871/1.043, allocations: 0.5103 MB / 477.9 MB, free: 3.379 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/1.043, allocations: 176.8 kB / 478.1 MB, free: 3.203 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003193/1.043, allocations: 331.1 kB / 478.4 MB, free: 2.879 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/1.043, allocations: 283.4 kB / 478.7 MB, free: 2.602 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/1.043, allocations: 28 kB / 478.7 MB, free: 2.574 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2038/1.247, allocations: 16.9 MB / 495.6 MB, free: 8.121 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/1.247, allocations: 176.4 kB / 495.8 MB, free: 8.121 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002078/1.248, allocations: 154 kB / 496 MB, free: 8.121 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01316/1.261, allocations: 11.05 MB / 0.4951 GB, free: 3.426 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.261, allocations: 1.5 kB / 0.4951 GB, free: 3.426 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/1.261, allocations: 0 / 0.4951 GB, free: 3.426 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/1.261, allocations: 0 / 0.4951 GB, free: 3.426 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.003076/1.264, allocations: 1.918 MB / 0.497 GB, free: 2.031 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/1.264, allocations: 14.2 kB / 0.497 GB, free: 2.027 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/1.264, allocations: 96.27 kB / 0.4971 GB, free: 1.977 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/1.264, allocations: 362 kB / 0.4975 GB, free: 1.699 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.417e-05/1.264, allocations: 17.75 kB / 0.4975 GB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/1.264, allocations: 28.5 kB / 0.4975 GB, free: 1.684 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/1.265, allocations: 376 kB / 0.4979 GB, free: 1.363 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/1.265, allocations: 0.8125 kB / 0.4979 GB, free: 1.363 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/1.265, allocations: 11.09 kB / 0.4979 GB, free: 1.355 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/1.265, allocations: 20.77 kB / 0.4979 GB, free: 1.348 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/1.265, allocations: 119 kB / 0.498 GB, free: 1.316 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.01677/1.282, allocations: 11.57 MB / 0.5093 GB, free: 8.953 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/1.282, allocations: 111.6 kB / 0.5094 GB, free: 8.832 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.89e-05/1.282, allocations: 47.67 kB / 0.5095 GB, free: 8.781 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07158/1.354, allocations: 43.78 MB / 0.5522 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/1.354, allocations: 45.33 kB / 0.5522 GB, free: 12.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=38): time 2.364e-06/1.354, allocations: 0 / 0.5522 GB, free: 12.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=38): time 0.001073/1.355, allocations: 411.8 kB / 0.5526 GB, free: 12.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/1.355, allocations: 110.8 kB / 0.5527 GB, free: 12.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005843/1.355, allocations: 0.6792 MB / 0.5534 GB, free: 11.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/1.355, allocations: 29.7 kB / 0.5534 GB, free: 11.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/1.356, allocations: 371.4 kB / 0.5538 GB, free: 11.33 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.304e-05/1.356, allocations: 130.2 kB / 0.5539 GB, free: 11.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.132e-05/1.356, allocations: 83.28 kB / 0.554 GB, free: 11.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/1.356, allocations: 0.5625 MB / 0.5545 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.94e-05/1.356, allocations: 40.48 kB / 0.5546 GB, free: 10.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/1.356, allocations: 212.2 kB / 0.5548 GB, free: 10.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/1.356, allocations: 203.2 kB / 0.555 GB, free: 10.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.356, allocations: 0 / 0.555 GB, free: 10.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003686/1.357, allocations: 333.7 kB / 0.5553 GB, free: 9.695 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.357, allocations: 8 kB / 0.5553 GB, free: 9.688 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.357, allocations: 4.219 kB / 0.5553 GB, free: 9.684 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007941/1.358, allocations: 169.8 kB / 0.5555 GB, free: 9.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.684e-05/1.358, allocations: 27.98 kB / 0.5555 GB, free: 9.492 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004496/1.358, allocations: 0.8911 MB / 0.5564 GB, free: 8.574 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/1.358, allocations: 31.73 kB / 0.5564 GB, free: 8.543 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/1.358, allocations: 15.98 kB / 0.5564 GB, free: 8.527 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.000113/1.358, allocations: 172.1 kB / 0.5566 GB, free: 8.352 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-05/1.358, allocations: 71.61 kB / 0.5566 GB, free: 8.281 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005625/1.359, allocations: 0.6921 MB / 0.5573 GB, free: 7.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001833/1.359, allocations: 186.1 kB / 0.5575 GB, free: 7.309 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/1.359, allocations: 0 / 0.5575 GB, free: 7.309 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/1.359, allocations: 0 / 0.5575 GB, free: 7.309 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007835/1.36, allocations: 0.8697 MB / 0.5583 GB, free: 6.406 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.36, allocations: 0 / 0.5583 GB, free: 6.406 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.462e-05/1.36, allocations: 20.7 kB / 0.5584 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004094/1.36, allocations: 138.6 kB / 0.5585 GB, free: 6.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/1.36, allocations: 7.984 kB / 0.5585 GB, free: 6.242 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004644/1.361, allocations: 0.8993 MB / 0.5594 GB, free: 5.312 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.361, allocations: 0.9375 kB / 0.5594 GB, free: 5.312 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/1.361, allocations: 416.2 kB / 0.5598 GB, free: 4.883 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.213e-05/1.361, allocations: 84.56 kB / 0.5599 GB, free: 4.801 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/1.361, allocations: 15.89 kB / 0.5599 GB, free: 4.785 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.055e-05/1.361, allocations: 4 kB / 0.5599 GB, free: 4.781 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/1.361, allocations: 19.34 kB / 0.5599 GB, free: 4.766 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/1.361, allocations: 7.938 kB / 0.5599 GB, free: 4.758 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003825/1.362, allocations: 0.4951 MB / 0.5604 GB, free: 4.266 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/1.362, allocations: 0 / 0.5604 GB, free: 4.266 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002241/1.364, allocations: 1.282 MB / 0.5616 GB, free: 2.98 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.003393/1.367, allocations: 1.959 MB / 0.5636 GB, free: 1.254 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004294/1.368, allocations: 227 kB / 0.5638 GB, free: 1.027 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.368, allocations: 0 / 0.5638 GB, free: 1.027 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/1.368, allocations: 101 kB / 0.5639 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/1.368, allocations: 147.6 kB / 0.564 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/1.37, allocations: 0.9879 MB / 0.565 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.945e-05/1.37, allocations: 165.2 kB / 0.5651 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.225e-05/1.37, allocations: 37.47 kB / 0.5652 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/1.37, allocations: 28.5 kB / 0.5652 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/1.37, allocations: 0 / 0.5652 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of Templates: time 0.06296/1.433, allocations: 56.21 MB / 0.6201 GB, free: 7.648 MB / 0.5417 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.967171793803573]