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.8607/0.8607, allocations: 153.8 MB / 172.7 MB, free: 4.852 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.000559/0.000559, allocations: 11.98 kB / 250.3 MB, free: 3.879 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1562, allocations: 33.36 MB / 283.7 MB, free: 2.059 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.888/2.044, allocations: 307.7 MB / 0.5775 GB, free: 17.38 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03255/2.077, allocations: 31.1 MB / 0.6078 GB, free: 2.305 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003217/2.077, allocations: 4.906 kB / 0.6079 GB, free: 2.305 MB / 478.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.0006538/2.078, allocations: 271.6 kB / 0.6081 GB, free: 2.242 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003958/2.078, allocations: 278.2 kB / 0.6084 GB, free: 2.148 MB / 478.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.0261/2.104, allocations: 9.939 MB / 0.6181 GB, free: 11.42 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009123/2.105, allocations: 0.491 MB / 0.6186 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/2.105, allocations: 167.3 kB / 0.6187 GB, free: 10.76 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003832/2.106, allocations: 255.1 kB / 0.619 GB, free: 10.51 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003721/2.106, allocations: 307 kB / 0.6193 GB, free: 10.21 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.902e-05/2.106, allocations: 24 kB / 0.6193 GB, free: 10.19 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03446/2.141, allocations: 16.9 MB / 0.6358 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002601/2.141, allocations: 179.4 kB / 0.636 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002808/2.141, allocations: 206.7 kB / 0.6362 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02241/2.164, allocations: 8.91 MB / 0.6449 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/2.164, allocations: 0 / 0.6449 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.603e-06/2.164, allocations: 0 / 0.6449 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.146e-05/2.164, allocations: 0.8438 kB / 0.6449 GB, free: 15.95 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.004957/2.168, allocations: 1.806 MB / 0.6466 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/2.169, allocations: 16.02 kB / 0.6466 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/2.169, allocations: 75.47 kB / 0.6467 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007338/2.169, allocations: 444.9 kB / 0.6471 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/2.17, allocations: 20.5 kB / 0.6472 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/2.17, allocations: 25.03 kB / 0.6472 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007306/2.17, allocations: 492.2 kB / 0.6476 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/2.17, allocations: 1.031 kB / 0.6476 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/2.17, allocations: 8 kB / 0.6477 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/2.17, allocations: 15.98 kB / 0.6477 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000494/2.171, allocations: 345.7 kB / 0.648 GB, free: 12.62 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.03784/2.209, allocations: 11.36 MB / 0.6591 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006111/2.209, allocations: 151.1 kB / 0.6592 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/2.209, allocations: 88.72 kB / 0.6593 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.155/2.364, allocations: 43.61 MB / 0.7019 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/2.364, allocations: 31.25 kB / 0.7019 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=38): time 2.124e-06/2.364, allocations: 0 / 0.7019 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of matching and sorting (n=38): time 0.001849/2.366, allocations: 0.5099 MB / 0.7024 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.964e-05/2.366, allocations: 115.5 kB / 0.7026 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/2.368, allocations: 0.9647 MB / 0.7035 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/2.368, allocations: 25.7 kB / 0.7035 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/2.368, allocations: 308.6 kB / 0.7038 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/2.368, allocations: 126.9 kB / 0.7039 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/2.368, allocations: 65.64 kB / 0.704 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001931/2.368, allocations: 374.8 kB / 0.7044 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/2.369, allocations: 164.4 kB / 0.7045 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/2.369, allocations: 295.1 kB / 0.7048 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000442/2.369, allocations: 339.9 kB / 0.7051 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/2.369, allocations: 3.984 kB / 0.7051 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007952/2.37, allocations: 0.5363 MB / 0.7056 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/2.37, allocations: 11.94 kB / 0.7057 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/2.37, allocations: 0 / 0.7057 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001634/2.372, allocations: 218.4 kB / 0.7059 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.769e-05/2.372, allocations: 23.94 kB / 0.7059 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007374/2.373, allocations: 0.6705 MB / 0.7065 GB, free: 392 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/2.373, allocations: 43.78 kB / 0.7066 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/2.373, allocations: 8 kB / 0.7066 GB, free: 340 kB / 0.5606 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.0002858/2.373, allocations: 261.6 kB / 0.7068 GB, free: 68 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.132e-05/2.373, allocations: 59.58 kB / 0.7069 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009396/2.374, allocations: 0.6883 MB / 0.7076 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003882/2.375, allocations: 246.9 kB / 0.7078 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/2.375, allocations: 1.031 kB / 0.7078 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/2.375, allocations: 1.406 kB / 0.7078 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/2.376, allocations: 0.8471 MB / 0.7086 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/2.376, allocations: 3.938 kB / 0.7086 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.013e-05/2.376, allocations: 23.92 kB / 0.7087 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008968/2.377, allocations: 174.1 kB / 0.7088 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/2.377, allocations: 0 / 0.7088 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006922/2.378, allocations: 0.7084 MB / 0.7095 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/2.378, allocations: 3.938 kB / 0.7095 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005468/2.378, allocations: 405.4 kB / 0.7099 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/2.378, allocations: 92.42 kB / 0.71 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.57e-05/2.378, allocations: 11.94 kB / 0.71 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/2.379, allocations: 12.05 kB / 0.71 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/2.379, allocations: 12.73 kB / 0.71 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/2.379, allocations: 4 kB / 0.71 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009701/2.38, allocations: 0.7879 MB / 0.7108 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/2.38, allocations: 0 / 0.7108 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00316/2.383, allocations: 1.282 MB / 0.7121 GB, free: 10.56 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.004764/2.387, allocations: 1.802 MB / 0.7138 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007487/2.388, allocations: 336.3 kB / 0.7141 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/2.388, allocations: 0 / 0.7141 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002987/2.389, allocations: 102.5 kB / 0.7142 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008183/2.389, allocations: 136.5 kB / 0.7144 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/2.391, allocations: 1.124 MB / 0.7155 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/2.391, allocations: 333.3 kB / 0.7158 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001391/2.392, allocations: 55.34 kB / 0.7158 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.188e-05/2.392, allocations: 27.44 kB / 0.7159 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/2.392, allocations: 3.938 kB / 0.7159 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of Templates: time 0.0655/2.457, allocations: 45.69 MB / 0.7605 GB, free: 9.461 MB / 0.6231 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: 8.577377781271935] Failed to read output from testmodel.py, exit status != 0: 2.8010660838335752 2.82067033 0.653409193 Calling exit ...