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.4729/0.4729, allocations: 111.6 MB / 132.2 MB, free: 4.422 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.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 1.563e-06/1.563e-06, allocations: 0 / 177.3 MB, free: 8.926 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191e-05/1.348e-05, allocations: 2.312 kB / 177.3 MB, free: 8.922 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.Fluid.Examples.SimpleExamples.TestBend): time 0.9927/0.9927, allocations: 257.3 MB / 434.6 MB, free: 72 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3041/1.297, allocations: 181.1 MB / 0.6012 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/1.297, allocations: 11.88 kB / 0.6013 GB, free: 0.668 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78: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:32:3-33:80: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:42:3-43:80: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:44:3-45:80: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.0002705/1.297, allocations: 199.2 kB / 0.6014 GB, free: 484 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003029/1.298, allocations: 294.4 kB / 0.6017 GB, free: 188 kB / 0.5105 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88: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.01985/1.317, allocations: 12.59 MB / 0.614 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005063/1.318, allocations: 0.5611 MB / 0.6146 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002295/1.318, allocations: 253.4 kB / 0.6148 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003156/1.318, allocations: 371.2 kB / 0.6152 GB, free: 2.379 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/1.319, allocations: 319.3 kB / 0.6155 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/1.319, allocations: 43.94 kB / 0.6155 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0223/1.341, allocations: 19.72 MB / 0.6348 GB, free: 14.28 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001824/1.341, allocations: 227.3 kB / 0.635 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001752/1.341, allocations: 195.4 kB / 0.6352 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01675/1.358, allocations: 13.15 MB / 0.648 GB, free: 0.6758 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.358, allocations: 0 / 0.648 GB, free: 0.6758 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.62e-07/1.358, allocations: 0 / 0.648 GB, free: 0.6758 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.553e-06/1.358, allocations: 0 / 0.648 GB, free: 0.6758 MB / 0.5573 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.003444/1.362, allocations: 2.386 MB / 0.6503 GB, free: 14.24 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/1.362, allocations: 11.98 kB / 0.6503 GB, free: 14.23 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/1.362, allocations: 131.4 kB / 0.6505 GB, free: 14.1 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/1.362, allocations: 432.4 kB / 0.6509 GB, free: 13.64 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/1.362, allocations: 32.94 kB / 0.6509 GB, free: 13.61 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/1.362, allocations: 44 kB / 0.651 GB, free: 13.57 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003452/1.363, allocations: 412.9 kB / 0.6514 GB, free: 13.11 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.363, allocations: 4 kB / 0.6514 GB, free: 13.1 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/1.363, allocations: 23.94 kB / 0.6514 GB, free: 13.08 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-06/1.363, allocations: 15.94 kB / 0.6514 GB, free: 13.06 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/1.363, allocations: 139 kB / 0.6515 GB, free: 12.93 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003885/1.367, allocations: 3.594 MB / 0.655 GB, free: 9.273 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/1.367, allocations: 95.83 kB / 0.6551 GB, free: 9.168 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.543e-05/1.367, allocations: 24.73 kB / 0.6552 GB, free: 9.141 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3214/1.688, allocations: 77.25 MB / 0.7306 GB, free: 93.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/1.688, allocations: 40.05 kB / 0.7306 GB, free: 93.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.894e-06/1.688, allocations: 0 / 0.7306 GB, free: 93.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001042/1.689, allocations: 348.1 kB / 0.731 GB, free: 93.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/1.689, allocations: 104.8 kB / 0.7311 GB, free: 93.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004851/1.69, allocations: 0.7775 MB / 0.7318 GB, free: 93.51 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/1.69, allocations: 29.58 kB / 0.7319 GB, free: 93.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/1.69, allocations: 461.5 kB / 0.7323 GB, free: 93.31 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/1.69, allocations: 47.5 kB / 0.7323 GB, free: 93.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.869e-05/1.69, allocations: 84.81 kB / 0.7324 GB, free: 93.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.966e-05/1.69, allocations: 0.5688 MB / 0.733 GB, free: 92.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.381e-05/1.69, allocations: 29.5 kB / 0.733 GB, free: 92.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.685e-05/1.69, allocations: 267.5 kB / 0.7333 GB, free: 92.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/1.69, allocations: 253.7 kB / 0.7335 GB, free: 92.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.69, allocations: 1.188 kB / 0.7335 GB, free: 92.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005535/1.691, allocations: 374.2 kB / 0.7339 GB, free: 92.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/1.691, allocations: 10.84 kB / 0.7339 GB, free: 92.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/1.691, allocations: 3.5 kB / 0.7339 GB, free: 92.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006076/1.692, allocations: 157.3 kB / 0.734 GB, free: 92.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/1.692, allocations: 44.69 kB / 0.7341 GB, free: 92.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002566/1.692, allocations: 0.862 MB / 0.7349 GB, free: 91.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/1.692, allocations: 32.36 kB / 0.7349 GB, free: 91.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/1.692, allocations: 19 kB / 0.735 GB, free: 91.34 MB / 0.6198 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 (Bend.C2.diff_on_1,SourceP1.C.diff_on_2,SourceP1.fluid1,Bend.fluid,SinkP1.fluid,SourceP1.C.ftype) * 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 9.611e-05/1.692, allocations: 179.7 kB / 0.7351 GB, free: 91.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/1.692, allocations: 77.06 kB / 0.7352 GB, free: 91.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003012/1.693, allocations: 215.5 kB / 0.7354 GB, free: 91.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/1.693, allocations: 4 kB / 0.7354 GB, free: 91.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/1.693, allocations: 0 / 0.7354 GB, free: 91.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/1.693, allocations: 0 / 0.7354 GB, free: 91.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007314/1.693, allocations: 0.6624 MB / 0.7361 GB, free: 90.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.693, allocations: 0 / 0.7361 GB, free: 90.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.168e-05/1.693, allocations: 4.875 kB / 0.7361 GB, free: 90.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004199/1.694, allocations: 128.8 kB / 0.7362 GB, free: 90.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/1.694, allocations: 10.06 kB / 0.7362 GB, free: 90.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002061/1.694, allocations: 0.8571 MB / 0.737 GB, free: 89.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.694, allocations: 4.844 kB / 0.737 GB, free: 89.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000516/1.694, allocations: 438.4 kB / 0.7375 GB, free: 89.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.725e-05/1.695, allocations: 91.47 kB / 0.7375 GB, free: 89.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/1.695, allocations: 5.031 kB / 0.7375 GB, free: 89.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.445e-05/1.695, allocations: 5.312 kB / 0.7375 GB, free: 89.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/1.695, allocations: 10.16 kB / 0.7376 GB, free: 89.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/1.695, allocations: 4.875 kB / 0.7376 GB, free: 89.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002325/1.695, allocations: 461.2 kB / 0.738 GB, free: 89.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/1.695, allocations: 0 / 0.738 GB, free: 89.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002405/1.697, allocations: 1.682 MB / 0.7396 GB, free: 89.5 MB / 0.6198 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.003874/1.701, allocations: 2.821 MB / 0.7424 GB, free: 89.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002231/1.701, allocations: 133.4 kB / 0.7425 GB, free: 89.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.701, allocations: 3.625 kB / 0.7425 GB, free: 89.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.497e-05/1.702, allocations: 48.16 kB / 0.7426 GB, free: 89.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/1.702, allocations: 94.67 kB / 0.7427 GB, free: 89.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/1.703, allocations: 0.9913 MB / 0.7436 GB, free: 88.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.76e-05/1.703, allocations: 162.1 kB / 0.7438 GB, free: 88.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.431e-05/1.703, allocations: 56.7 kB / 0.7438 GB, free: 88.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/1.703, allocations: 147.8 kB / 0.744 GB, free: 88.46 MB / 0.6198 GB Notification: Performance of SimCode: time 8.11e-07/1.703, allocations: 0 / 0.744 GB, free: 88.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.04462/1.748, allocations: 61.22 MB / 0.8038 GB, free: 43.13 MB / 0.6198 GB " [Timeout remaining time 658] 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.036119666881859]