Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.852/0.852, allocations: 153.8 MB / 173.4 MB, free: 4.941 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.Fluid.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005497/0.0005497, allocations: 15.97 kB / 251.1 MB, free: 3.949 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2412, allocations: 33.36 MB / 284.5 MB, free: 2.137 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.Fluid.Examples.SimpleExamples.TestBend): time 1.944/2.185, allocations: 307.7 MB / 0.5783 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2411/2.426, allocations: 194.1 MB / 0.7678 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005639/2.427, allocations: 11.94 kB / 0.7678 GB, free: 2.797 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:59:3-60:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:47:3-48:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Bend.mo:57:3-58:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Bend.mo:59:3-60:67:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005404/2.428, allocations: 203.2 kB / 0.768 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0007928/2.428, allocations: 286.6 kB / 0.7683 GB, free: 2.316 MB / 0.6231 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.03865/2.467, allocations: 12.64 MB / 0.7807 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001206/2.468, allocations: 0.5496 MB / 0.7812 GB, free: 5.125 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005331/2.469, allocations: 241.1 kB / 0.7814 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006484/2.469, allocations: 267.1 kB / 0.7817 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006614/2.47, allocations: 386.8 kB / 0.782 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001363/2.47, allocations: 41.59 kB / 0.7821 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04947/2.52, allocations: 21.23 MB / 0.8028 GB, free: 14.95 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003486/2.52, allocations: 215.3 kB / 0.803 GB, free: 14.74 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004312/2.52, allocations: 337.9 kB / 0.8033 GB, free: 14.41 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.03243/2.553, allocations: 10.81 MB / 0.8139 GB, free: 3.566 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/2.553, allocations: 1.688 kB / 0.8139 GB, free: 3.566 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.144e-06/2.553, allocations: 0 / 0.8139 GB, free: 3.566 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.173e-05/2.553, allocations: 4 kB / 0.8139 GB, free: 3.562 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.006527/2.559, allocations: 2.302 MB / 0.8161 GB, free: 1.215 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/2.559, allocations: 8.031 kB / 0.8162 GB, free: 1.207 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00024/2.56, allocations: 92.12 kB / 0.8162 GB, free: 1.117 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008354/2.561, allocations: 0.513 MB / 0.8167 GB, free: 0.5742 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/2.561, allocations: 33 kB / 0.8168 GB, free: 0.543 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-05/2.561, allocations: 36 kB / 0.8168 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007587/2.561, allocations: 495.4 kB / 0.8173 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/2.561, allocations: 6.328 kB / 0.8173 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.063e-05/2.561, allocations: 20 kB / 0.8173 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/2.561, allocations: 8 kB / 0.8173 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006165/2.562, allocations: 414.9 kB / 0.8177 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00875/2.571, allocations: 4.369 MB / 0.822 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/2.571, allocations: 110.6 kB / 0.8221 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.89e-05/2.571, allocations: 48.67 kB / 0.8221 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5068/3.078, allocations: 88.37 MB / 0.9084 GB, free: 247.9 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/3.078, allocations: 34.31 kB / 0.9085 GB, free: 247.8 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=11): time 2.144e-06/3.078, allocations: 0 / 0.9085 GB, free: 247.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.002057/3.08, allocations: 401.8 kB / 0.9088 GB, free: 247.5 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/3.08, allocations: 102.8 kB / 0.9089 GB, free: 247.3 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/3.082, allocations: 1.115 MB / 0.91 GB, free: 246.2 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/3.082, allocations: 29.7 kB / 0.9101 GB, free: 246.2 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/3.082, allocations: 392.5 kB / 0.9104 GB, free: 245.9 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/3.082, allocations: 44.2 kB / 0.9105 GB, free: 245.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.927e-05/3.082, allocations: 85.53 kB / 0.9106 GB, free: 245.7 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.708e-05/3.082, allocations: 386.5 kB / 0.9109 GB, free: 245.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/3.082, allocations: 128 kB / 0.911 GB, free: 245.2 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/3.082, allocations: 261.6 kB / 0.9113 GB, free: 244.9 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/3.083, allocations: 321.5 kB / 0.9116 GB, free: 244.6 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/3.083, allocations: 1.562 kB / 0.9116 GB, free: 244.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001277/3.084, allocations: 0.5668 MB / 0.9122 GB, free: 244 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/3.084, allocations: 4 kB / 0.9122 GB, free: 244 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/3.084, allocations: 6.156 kB / 0.9122 GB, free: 244 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001509/3.086, allocations: 197.1 kB / 0.9124 GB, free: 243.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/3.086, allocations: 47.55 kB / 0.9124 GB, free: 243.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004651/3.086, allocations: 0.6371 MB / 0.913 GB, free: 243.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/3.086, allocations: 53.69 kB / 0.9131 GB, free: 243.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/3.087, allocations: 16 kB / 0.9131 GB, free: 243.1 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,SinkP1.fluid,Bend.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Bend.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002508/3.087, allocations: 266.5 kB / 0.9133 GB, free: 242.8 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/3.087, allocations: 71.53 kB / 0.9134 GB, free: 242.7 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006327/3.088, allocations: 266.6 kB / 0.9137 GB, free: 242.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/3.088, allocations: 11.92 kB / 0.9137 GB, free: 242.4 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/3.088, allocations: 0 / 0.9137 GB, free: 242.4 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/3.088, allocations: 0 / 0.9137 GB, free: 242.4 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/3.089, allocations: 0.8178 MB / 0.9145 GB, free: 241.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/3.089, allocations: 5.531 kB / 0.9145 GB, free: 241.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/3.089, allocations: 4 kB / 0.9145 GB, free: 241.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000972/3.09, allocations: 167.7 kB / 0.9146 GB, free: 241.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/3.09, allocations: 4 kB / 0.9146 GB, free: 241.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003879/3.091, allocations: 0.6243 MB / 0.9153 GB, free: 240.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/3.091, allocations: 0 / 0.9153 GB, free: 240.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/3.092, allocations: 419.8 kB / 0.9157 GB, free: 240.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/3.092, allocations: 121.4 kB / 0.9158 GB, free: 240.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.737e-05/3.092, allocations: 0 / 0.9158 GB, free: 240.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/3.092, allocations: 11.92 kB / 0.9158 GB, free: 240.2 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/3.092, allocations: 18.52 kB / 0.9158 GB, free: 240.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/3.092, allocations: 7.875 kB / 0.9158 GB, free: 240.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007313/3.093, allocations: 0.8153 MB / 0.9166 GB, free: 239.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/3.093, allocations: 0 / 0.9166 GB, free: 239.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004094/3.097, allocations: 1.676 MB / 0.9182 GB, free: 238 MB / 0.6856 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 (3): * Single equations (assignments): 2 * 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.008748/3.106, allocations: 2.496 MB / 0.9207 GB, free: 235.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0007775/3.107, allocations: 234.9 kB / 0.9209 GB, free: 235.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/3.107, allocations: 0 / 0.9209 GB, free: 235.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/3.107, allocations: 47.83 kB / 0.921 GB, free: 235.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009032/3.108, allocations: 105.4 kB / 0.9211 GB, free: 235.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/3.11, allocations: 1.172 MB / 0.9222 GB, free: 234.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/3.11, allocations: 0.944 MB / 0.9231 GB, free: 233.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/3.11, allocations: 39.44 kB / 0.9232 GB, free: 233.3 MB / 0.6856 GB Notification: Performance of SimCode: time 1.112e-06/3.11, allocations: 0 / 0.9232 GB, free: 233.3 MB / 0.6856 GB Notification: Performance of Templates: time 0.04439/3.155, allocations: 35.84 MB / 0.9582 GB, free: 198.1 MB / 0.6856 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.121777306078002] Failed to read output from testmodel.py, exit status != 0: 3.325659641996026 3.336436082 0.7809323800000001 Calling exit ...