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.4746/0.4746, allocations: 111.6 MB / 131.2 MB, free: 4.562 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.904e-06/1.904e-06, allocations: 0 / 176.2 MB, free: 9.164 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.791e-05/1.982e-05, allocations: 2.312 kB / 176.2 MB, free: 9.16 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.002/1.002, allocations: 257.2 MB / 433.4 MB, free: 240 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02746/1.03, allocations: 33.64 MB / 467 MB, free: 14.46 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/1.03, allocations: 8 kB / 467 MB, free: 14.46 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.000457/1.03, allocations: 274.9 kB / 467.3 MB, free: 14.19 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002903/1.031, allocations: 286.7 kB / 467.6 MB, free: 13.91 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.01806/1.049, allocations: 10.04 MB / 477.6 MB, free: 3.82 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005308/1.049, allocations: 0.5063 MB / 478.1 MB, free: 3.312 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/1.049, allocations: 180.7 kB / 478.3 MB, free: 3.133 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003048/1.05, allocations: 323.2 kB / 478.6 MB, free: 2.816 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/1.05, allocations: 287.4 kB / 478.9 MB, free: 2.535 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/1.05, allocations: 24 kB / 478.9 MB, free: 2.512 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2011/1.251, allocations: 16.91 MB / 495.8 MB, free: 8.012 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/1.251, allocations: 174.5 kB / 496 MB, free: 8.012 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001816/1.251, allocations: 155.9 kB / 496.1 MB, free: 8.012 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/1.263, allocations: 11.05 MB / 0.4953 GB, free: 3.293 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/1.263, allocations: 0 / 0.4953 GB, free: 3.293 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.403e-06/1.263, allocations: 0 / 0.4953 GB, free: 3.293 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.624e-06/1.263, allocations: 1.594 kB / 0.4953 GB, free: 3.293 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.00239/1.266, allocations: 1.913 MB / 0.4972 GB, free: 1.906 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/1.266, allocations: 13.3 kB / 0.4972 GB, free: 1.902 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/1.266, allocations: 97.89 kB / 0.4973 GB, free: 1.852 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/1.266, allocations: 364.4 kB / 0.4976 GB, free: 1.566 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/1.266, allocations: 20.5 kB / 0.4976 GB, free: 1.559 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/1.266, allocations: 26.22 kB / 0.4977 GB, free: 1.551 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/1.266, allocations: 382.3 kB / 0.498 GB, free: 1.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.266, allocations: 0 / 0.498 GB, free: 1.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/1.266, allocations: 11 kB / 0.498 GB, free: 1.223 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/1.266, allocations: 12.12 kB / 0.4981 GB, free: 1.219 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/1.267, allocations: 118.7 kB / 0.4982 GB, free: 1.191 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.01704/1.284, allocations: 11.57 MB / 0.5095 GB, free: 8.844 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/1.284, allocations: 103.1 kB / 0.5096 GB, free: 8.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.56e-05/1.284, allocations: 51.67 kB / 0.5096 GB, free: 8.676 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07179/1.356, allocations: 43.78 MB / 0.5524 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/1.356, allocations: 37.39 kB / 0.5524 GB, free: 12.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=38): time 1.684e-06/1.356, allocations: 4 kB / 0.5524 GB, free: 12.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=38): time 0.001289/1.357, allocations: 412.2 kB / 0.5528 GB, free: 12.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/1.357, allocations: 106.8 kB / 0.5529 GB, free: 12.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005424/1.358, allocations: 0.6792 MB / 0.5536 GB, free: 11.63 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/1.358, allocations: 37.7 kB / 0.5536 GB, free: 11.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/1.358, allocations: 367.4 kB / 0.554 GB, free: 11.22 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.936e-05/1.358, allocations: 134 kB / 0.5541 GB, free: 11.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.406e-05/1.358, allocations: 75.3 kB / 0.5542 GB, free: 11.01 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/1.358, allocations: 0.564 MB / 0.5547 GB, free: 10.44 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.571e-05/1.358, allocations: 48.47 kB / 0.5548 GB, free: 10.39 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/1.358, allocations: 203.9 kB / 0.555 GB, free: 10.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/1.359, allocations: 201.9 kB / 0.5551 GB, free: 9.918 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/1.359, allocations: 7.938 kB / 0.5552 GB, free: 9.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003426/1.359, allocations: 325 kB / 0.5555 GB, free: 9.594 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/1.359, allocations: 8 kB / 0.5555 GB, free: 9.586 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.359, allocations: 4.219 kB / 0.5555 GB, free: 9.582 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007367/1.36, allocations: 185.2 kB / 0.5557 GB, free: 9.406 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.093e-05/1.36, allocations: 20 kB / 0.5557 GB, free: 9.387 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004429/1.36, allocations: 0.8939 MB / 0.5565 GB, free: 8.465 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/1.36, allocations: 35.73 kB / 0.5566 GB, free: 8.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/1.36, allocations: 8 kB / 0.5566 GB, free: 8.422 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.0001099/1.36, allocations: 171.9 kB / 0.5568 GB, free: 8.246 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/1.36, allocations: 71.59 kB / 0.5568 GB, free: 8.176 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000541/1.361, allocations: 0.6889 MB / 0.5575 GB, free: 7.395 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001677/1.361, allocations: 184.7 kB / 0.5577 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/1.361, allocations: 0 / 0.5577 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/1.361, allocations: 0 / 0.5577 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007343/1.362, allocations: 0.8708 MB / 0.5585 GB, free: 6.301 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.362, allocations: 0.5 kB / 0.5585 GB, free: 6.301 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.321e-05/1.362, allocations: 20.03 kB / 0.5585 GB, free: 6.281 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003937/1.362, allocations: 140.6 kB / 0.5587 GB, free: 6.145 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/1.362, allocations: 4 kB / 0.5587 GB, free: 6.141 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003715/1.363, allocations: 0.9005 MB / 0.5596 GB, free: 5.211 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/1.363, allocations: 0 / 0.5596 GB, free: 5.211 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005323/1.363, allocations: 416.6 kB / 0.56 GB, free: 4.781 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/1.363, allocations: 87.53 kB / 0.56 GB, free: 4.695 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/1.363, allocations: 12.83 kB / 0.56 GB, free: 4.684 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.347e-05/1.363, allocations: 8 kB / 0.5601 GB, free: 4.676 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/1.363, allocations: 11.97 kB / 0.5601 GB, free: 4.664 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/1.363, allocations: 11.94 kB / 0.5601 GB, free: 4.652 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003667/1.364, allocations: 0.4951 MB / 0.5606 GB, free: 4.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/1.364, allocations: 3.938 kB / 0.5606 GB, free: 4.156 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002178/1.366, allocations: 1.274 MB / 0.5618 GB, free: 2.879 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.003148/1.369, allocations: 1.962 MB / 0.5637 GB, free: 1.152 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003924/1.37, allocations: 224.5 kB / 0.5639 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.37, allocations: 0 / 0.5639 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/1.37, allocations: 112.7 kB / 0.564 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/1.37, allocations: 148.3 kB / 0.5642 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/1.371, allocations: 0.9819 MB / 0.5651 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.313e-05/1.371, allocations: 161.2 kB / 0.5653 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.557e-05/1.372, allocations: 42.48 kB / 0.5653 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/1.372, allocations: 28.5 kB / 0.5654 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of SimCode: time 9.72e-07/1.372, allocations: 0 / 0.5654 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of Templates: time 0.04926/1.421, allocations: 56.19 MB / 0.6202 GB, free: 7.559 MB / 0.5417 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.5164812807925045]