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.9104/0.9104, allocations: 153.8 MB / 173.4 MB, free: 4.91 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/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 0.0005474/0.0005474, allocations: 11.97 kB / 251.1 MB, free: 3.91 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1887, allocations: 33.36 MB / 284.5 MB, free: 2.113 MB / 222.1 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.922/2.11, allocations: 307.6 MB / 0.5782 GB, free: 15.89 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.04511/2.155, allocations: 35.34 MB / 0.6127 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006481/2.156, allocations: 2.938 kB / 0.6127 GB, free: 13.57 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45: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:33:3-34:47: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:55:3-57:42: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:58:3-60:43: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.001051/2.157, allocations: 303.4 kB / 0.613 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007066/2.158, allocations: 278.6 kB / 0.6133 GB, free: 13.39 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783: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:850:9-850: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:1088:9-1088: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:69:3-69: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:69:3-69: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:167:3-170:49: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:167:3-170:49: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.05314/2.211, allocations: 10.07 MB / 0.6231 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001293/2.212, allocations: 0.4987 MB / 0.6236 GB, free: 6.555 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004002/2.213, allocations: 170.5 kB / 0.6238 GB, free: 6.387 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005661/2.213, allocations: 251.1 kB / 0.624 GB, free: 6.141 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005401/2.214, allocations: 319.1 kB / 0.6243 GB, free: 5.828 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.933e-05/2.214, allocations: 24 kB / 0.6243 GB, free: 5.805 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04085/2.255, allocations: 18.09 MB / 0.642 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002701/2.255, allocations: 179.4 kB / 0.6422 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004061/2.255, allocations: 266.3 kB / 0.6424 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02206/2.277, allocations: 8.902 MB / 0.6511 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/2.277, allocations: 4 kB / 0.6511 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.382e-06/2.277, allocations: 0 / 0.6511 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.306e-05/2.277, allocations: 0 / 0.6511 GB, free: 10.34 MB / 0.5137 GB 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.005106/2.283, allocations: 1.822 MB / 0.6529 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/2.283, allocations: 8.031 kB / 0.6529 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002387/2.283, allocations: 75.47 kB / 0.653 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007626/2.284, allocations: 437 kB / 0.6534 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/2.284, allocations: 21.06 kB / 0.6534 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.512e-05/2.284, allocations: 28 kB / 0.6534 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007038/2.284, allocations: 426.4 kB / 0.6539 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/2.284, allocations: 4.938 kB / 0.6539 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/2.284, allocations: 12 kB / 0.6539 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/2.284, allocations: 20.67 kB / 0.6539 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005216/2.285, allocations: 349.7 kB / 0.6542 GB, free: 7.066 MB / 0.5137 GB 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.03821/2.323, allocations: 11.82 MB / 0.6658 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006478/2.324, allocations: 150.6 kB / 0.6659 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/2.324, allocations: 84.83 kB / 0.666 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1529/2.477, allocations: 43.44 MB / 0.7084 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/2.477, allocations: 34.5 kB / 0.7084 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=38): time 2.184e-06/2.477, allocations: 4 kB / 0.7085 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=38): time 0.002002/2.479, allocations: 0.5229 MB / 0.709 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/2.479, allocations: 106.8 kB / 0.7091 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/2.481, allocations: 1.004 MB / 0.71 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/2.481, allocations: 33.7 kB / 0.7101 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/2.481, allocations: 300.5 kB / 0.7104 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/2.481, allocations: 134.8 kB / 0.7105 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/2.481, allocations: 65.69 kB / 0.7106 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002265/2.481, allocations: 378.8 kB / 0.7109 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/2.482, allocations: 157.3 kB / 0.7111 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/2.482, allocations: 247.1 kB / 0.7113 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004752/2.482, allocations: 340 kB / 0.7116 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/2.482, allocations: 7.984 kB / 0.7116 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000887/2.483, allocations: 0.5346 MB / 0.7122 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/2.483, allocations: 8 kB / 0.7122 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/2.483, allocations: 1.25 kB / 0.7122 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001689/2.485, allocations: 224.7 kB / 0.7124 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.437e-05/2.485, allocations: 20 kB / 0.7124 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007576/2.486, allocations: 0.6761 MB / 0.7131 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002908/2.486, allocations: 47.61 kB / 0.7131 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/2.486, allocations: 8 kB / 0.7131 GB, free: 10.38 MB / 0.5762 GB 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.0003299/2.486, allocations: 257.8 kB / 0.7134 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/2.487, allocations: 63.58 kB / 0.7134 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009286/2.488, allocations: 0.6876 MB / 0.7141 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003974/2.488, allocations: 254.8 kB / 0.7143 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/2.488, allocations: 0.9375 kB / 0.7143 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/2.488, allocations: 3.984 kB / 0.7143 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/2.489, allocations: 0.9494 MB / 0.7153 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/2.489, allocations: 0 / 0.7153 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.266e-05/2.489, allocations: 23.98 kB / 0.7153 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009463/2.49, allocations: 172.7 kB / 0.7155 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/2.49, allocations: 4 kB / 0.7155 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000718/2.491, allocations: 0.7039 MB / 0.7161 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/2.491, allocations: 3.938 kB / 0.7161 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005585/2.492, allocations: 418.5 kB / 0.7165 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002147/2.492, allocations: 91.48 kB / 0.7166 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.972e-05/2.492, allocations: 11.95 kB / 0.7166 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/2.492, allocations: 12 kB / 0.7167 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/2.492, allocations: 15.91 kB / 0.7167 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/2.492, allocations: 4 kB / 0.7167 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001052/2.493, allocations: 0.8153 MB / 0.7175 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/2.493, allocations: 0 / 0.7175 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003462/2.497, allocations: 1.278 MB / 0.7187 GB, free: 4.449 MB / 0.5762 GB 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.005873/2.503, allocations: 1.796 MB / 0.7205 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000848/2.503, allocations: 345.1 kB / 0.7208 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/2.504, allocations: 1.594 kB / 0.7208 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002943/2.504, allocations: 108.6 kB / 0.7209 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009168/2.505, allocations: 145.1 kB / 0.721 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/2.507, allocations: 1.193 MB / 0.7222 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/2.507, allocations: 0.9323 MB / 0.7231 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.587e-05/2.507, allocations: 35.44 kB / 0.7232 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/2.507, allocations: 0 / 0.7232 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of Templates: time 0.04552/2.553, allocations: 30.02 MB / 0.7525 GB, free: 2.27 MB / 0.6075 GB " [Timeout remaining time 657] 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.3413476140704] Failed to read output from testmodel.py, exit status != 0: 2.948358766036108 2.958641796 0.678786852 Calling exit ...