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.7905/0.7905, allocations: 111.6 MB / 131 MB, free: 5.062 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.533e-06/1.533e-06, allocations: 0 / 175.7 MB, free: 9.457 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.279e-05, allocations: 4.984 kB / 175.7 MB, free: 9.453 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 1.589/1.589, allocations: 254.7 MB / 430.4 MB, free: 136 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3958/1.985, allocations: 167.6 MB / 0.584 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002328/1.985, allocations: 15.88 kB / 0.584 GB, free: 5.492 MB / 0.4948 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.0004062/1.986, allocations: 199.2 kB / 0.5842 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004951/1.986, allocations: 290.5 kB / 0.5845 GB, free: 5.012 MB / 0.4948 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.03212/2.018, allocations: 12.58 MB / 0.5968 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0007963/2.019, allocations: 0.5612 MB / 0.5973 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003615/2.02, allocations: 250 kB / 0.5976 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005311/2.02, allocations: 367.2 kB / 0.5979 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004255/2.021, allocations: 323.3 kB / 0.5982 GB, free: 6.906 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 6.946e-05/2.021, allocations: 44 kB / 0.5983 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03723/2.058, allocations: 19.72 MB / 0.6175 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002929/2.058, allocations: 219.3 kB / 0.6177 GB, free: 2.902 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003036/2.059, allocations: 199.4 kB / 0.6179 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.02527/2.084, allocations: 13.42 MB / 0.631 GB, free: 5.25 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/2.084, allocations: 0 / 0.631 GB, free: 5.25 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.503e-06/2.084, allocations: 0 / 0.631 GB, free: 5.25 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.597e-06/2.084, allocations: 4 kB / 0.631 GB, free: 5.246 MB / 0.5417 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.00494/2.089, allocations: 2.267 MB / 0.6332 GB, free: 2.934 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/2.089, allocations: 15.98 kB / 0.6332 GB, free: 2.918 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002814/2.089, allocations: 119.4 kB / 0.6334 GB, free: 2.801 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008436/2.09, allocations: 0.5287 MB / 0.6339 GB, free: 2.242 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.611e-05/2.09, allocations: 36.94 kB / 0.6339 GB, free: 2.207 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.503e-05/2.09, allocations: 36 kB / 0.6339 GB, free: 2.172 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009398/2.091, allocations: 0.534 MB / 0.6345 GB, free: 1.59 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/2.091, allocations: 0 / 0.6345 GB, free: 1.59 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/2.091, allocations: 16.56 kB / 0.6345 GB, free: 1.574 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/2.091, allocations: 12 kB / 0.6345 GB, free: 1.562 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007165/2.092, allocations: 418.3 kB / 0.6349 GB, free: 1.152 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008622/2.1, allocations: 3.691 MB / 0.6385 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/2.101, allocations: 116 kB / 0.6386 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/2.101, allocations: 40.84 kB / 0.6386 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4499/2.551, allocations: 88.8 MB / 0.7254 GB, free: 291.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/2.551, allocations: 36.34 kB / 0.7254 GB, free: 291.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.964e-06/2.551, allocations: 4 kB / 0.7254 GB, free: 291.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.002231/2.553, allocations: 394.9 kB / 0.7258 GB, free: 290.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/2.553, allocations: 110.8 kB / 0.7259 GB, free: 290.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/2.554, allocations: 1.09 MB / 0.727 GB, free: 289.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/2.554, allocations: 31.34 kB / 0.727 GB, free: 289.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/2.555, allocations: 389.3 kB / 0.7274 GB, free: 289.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/2.555, allocations: 45.55 kB / 0.7274 GB, free: 289.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.264e-05/2.555, allocations: 81.59 kB / 0.7275 GB, free: 289.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.033e-05/2.555, allocations: 370.8 kB / 0.7278 GB, free: 288.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/2.555, allocations: 130.5 kB / 0.728 GB, free: 288.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/2.555, allocations: 312.5 kB / 0.7283 GB, free: 288.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/2.555, allocations: 322.5 kB / 0.7286 GB, free: 287.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/2.555, allocations: 3.75 kB / 0.7286 GB, free: 287.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001287/2.557, allocations: 0.5691 MB / 0.7291 GB, free: 287.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/2.557, allocations: 9.875 kB / 0.7291 GB, free: 287.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/2.557, allocations: 4 kB / 0.7291 GB, free: 287.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001569/2.558, allocations: 190.6 kB / 0.7293 GB, free: 287.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/2.558, allocations: 47.92 kB / 0.7294 GB, free: 287.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000518/2.559, allocations: 0.6429 MB / 0.73 GB, free: 286.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/2.559, allocations: 31.22 kB / 0.73 GB, free: 286.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/2.559, allocations: 23.98 kB / 0.73 GB, free: 286.3 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 (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.0002883/2.56, allocations: 268.4 kB / 0.7303 GB, free: 286.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.973e-05/2.56, allocations: 71.53 kB / 0.7304 GB, free: 286 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006444/2.56, allocations: 263.6 kB / 0.7306 GB, free: 285.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/2.56, allocations: 0 / 0.7306 GB, free: 285.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/2.56, allocations: 4 kB / 0.7306 GB, free: 285.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/2.56, allocations: 4.859 kB / 0.7306 GB, free: 285.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/2.562, allocations: 0.7262 MB / 0.7313 GB, free: 285 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/2.562, allocations: 3.938 kB / 0.7313 GB, free: 285 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.025e-05/2.562, allocations: 7.984 kB / 0.7313 GB, free: 285 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/2.563, allocations: 165.3 kB / 0.7315 GB, free: 284.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/2.563, allocations: 7.984 kB / 0.7315 GB, free: 284.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00039/2.563, allocations: 0.6299 MB / 0.7321 GB, free: 284.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/2.563, allocations: 0 / 0.7321 GB, free: 284.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/2.565, allocations: 417.8 kB / 0.7325 GB, free: 283.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/2.565, allocations: 105.8 kB / 0.7326 GB, free: 283.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.444e-05/2.565, allocations: 0 / 0.7326 GB, free: 283.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/2.565, allocations: 19.98 kB / 0.7326 GB, free: 283.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/2.565, allocations: 8.75 kB / 0.7327 GB, free: 283.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/2.565, allocations: 0 / 0.7327 GB, free: 283.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006346/2.566, allocations: 0.7841 MB / 0.7334 GB, free: 282.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/2.566, allocations: 0 / 0.7334 GB, free: 282.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003439/2.569, allocations: 1.669 MB / 0.735 GB, free: 281.4 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.005316/2.574, allocations: 2.738 MB / 0.7377 GB, free: 279.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004847/2.575, allocations: 237.4 kB / 0.7379 GB, free: 278.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/2.575, allocations: 3.938 kB / 0.738 GB, free: 278.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/2.575, allocations: 43.97 kB / 0.738 GB, free: 278.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005434/2.576, allocations: 96.03 kB / 0.7381 GB, free: 278.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/2.577, allocations: 1.108 MB / 0.7392 GB, free: 277.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/2.577, allocations: 341.9 kB / 0.7395 GB, free: 277.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001445/2.577, allocations: 70.42 kB / 0.7396 GB, free: 277.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.103e-05/2.577, allocations: 36.5 kB / 0.7396 GB, free: 277.2 MB / 0.6198 GB Notification: Performance of SimCode: time 4.41e-07/2.577, allocations: 0 / 0.7396 GB, free: 277.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.05223/2.63, allocations: 51.6 MB / 0.79 GB, free: 225.8 MB / 0.6198 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: 9.034975082031451]