Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.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.7729/0.7729, allocations: 111.6 MB / 131 MB, free: 5.07 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.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 175.7 MB, free: 9.488 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.95e-05, allocations: 7.859 kB / 175.7 MB, free: 9.484 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.Book.SimpleExamples.PressureLoss.TestBend): time 1.625/1.625, allocations: 254.6 MB / 430.3 MB, free: 500 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.431/2.056, allocations: 167.6 MB / 0.5839 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003823/2.057, allocations: 15.88 kB / 0.5839 GB, free: 5.73 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.0004626/2.057, allocations: 215.1 kB / 0.5841 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005839/2.058, allocations: 286.5 kB / 0.5844 GB, free: 5.238 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.03503/2.093, allocations: 12.58 MB / 0.5966 GB, free: 8.629 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0008876/2.094, allocations: 0.5573 MB / 0.5972 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000388/2.094, allocations: 253.3 kB / 0.5974 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005512/2.095, allocations: 371.1 kB / 0.5978 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004463/2.095, allocations: 319.3 kB / 0.5981 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 7.1e-05/2.095, allocations: 40 kB / 0.5981 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04006/2.135, allocations: 19.72 MB / 0.6174 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000362/2.136, allocations: 219.3 kB / 0.6176 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000359/2.136, allocations: 203.4 kB / 0.6178 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.02919/2.165, allocations: 13.41 MB / 0.6309 GB, free: 5.488 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/2.165, allocations: 0 / 0.6309 GB, free: 5.488 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.533e-06/2.165, allocations: 0 / 0.6309 GB, free: 5.488 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.538e-06/2.165, allocations: 0 / 0.6309 GB, free: 5.488 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.005523/2.171, allocations: 2.283 MB / 0.6331 GB, free: 3.16 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/2.171, allocations: 11.98 kB / 0.6331 GB, free: 3.148 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002989/2.171, allocations: 123.4 kB / 0.6332 GB, free: 3.027 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008656/2.172, allocations: 0.5254 MB / 0.6338 GB, free: 2.473 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/2.172, allocations: 32.94 kB / 0.6338 GB, free: 2.441 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.3e-05/2.172, allocations: 40 kB / 0.6338 GB, free: 2.402 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008935/2.173, allocations: 0.5301 MB / 0.6343 GB, free: 1.824 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/2.173, allocations: 0 / 0.6343 GB, free: 1.824 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.602e-05/2.173, allocations: 27.97 kB / 0.6344 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/2.173, allocations: 8 kB / 0.6344 GB, free: 1.789 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007273/2.174, allocations: 414.3 kB / 0.6348 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009053/2.183, allocations: 3.7 MB / 0.6384 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005801/2.183, allocations: 106.6 kB / 0.6385 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.822e-05/2.183, allocations: 44.83 kB / 0.6385 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4561/2.64, allocations: 88.8 MB / 0.7252 GB, free: 291.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/2.64, allocations: 38.31 kB / 0.7253 GB, free: 291.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/2.64, allocations: 0 / 0.7253 GB, free: 291.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.002124/2.642, allocations: 402.2 kB / 0.7257 GB, free: 291 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/2.642, allocations: 106.8 kB / 0.7258 GB, free: 290.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/2.643, allocations: 1.09 MB / 0.7268 GB, free: 289.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/2.643, allocations: 33.7 kB / 0.7269 GB, free: 289.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/2.643, allocations: 388.5 kB / 0.7272 GB, free: 289.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/2.643, allocations: 43.28 kB / 0.7273 GB, free: 289.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.815e-05/2.643, allocations: 81.59 kB / 0.7274 GB, free: 289.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.981e-05/2.643, allocations: 374.8 kB / 0.7277 GB, free: 288.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/2.643, allocations: 127.9 kB / 0.7278 GB, free: 288.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/2.643, allocations: 311.8 kB / 0.7281 GB, free: 288.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/2.644, allocations: 321.5 kB / 0.7284 GB, free: 288.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/2.644, allocations: 7.75 kB / 0.7284 GB, free: 288.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001263/2.645, allocations: 0.5655 MB / 0.729 GB, free: 287.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/2.645, allocations: 9.875 kB / 0.729 GB, free: 287.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/2.645, allocations: 4 kB / 0.729 GB, free: 287.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/2.647, allocations: 190 kB / 0.7292 GB, free: 287.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/2.647, allocations: 51.91 kB / 0.7292 GB, free: 287.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004286/2.647, allocations: 0.6345 MB / 0.7299 GB, free: 286.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/2.647, allocations: 41.58 kB / 0.7299 GB, free: 286.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/2.647, allocations: 20.88 kB / 0.7299 GB, free: 286.5 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.0002017/2.648, allocations: 274.8 kB / 0.7302 GB, free: 286.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.63e-05/2.648, allocations: 71.53 kB / 0.7303 GB, free: 286.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006168/2.648, allocations: 260.4 kB / 0.7305 GB, free: 285.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/2.648, allocations: 0 / 0.7305 GB, free: 285.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/2.648, allocations: 4 kB / 0.7305 GB, free: 285.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/2.648, allocations: 0 / 0.7305 GB, free: 285.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/2.65, allocations: 0.7337 MB / 0.7312 GB, free: 285.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/2.65, allocations: 3.938 kB / 0.7312 GB, free: 285.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.968e-05/2.65, allocations: 4 kB / 0.7312 GB, free: 285.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/2.651, allocations: 167.9 kB / 0.7314 GB, free: 285 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/2.651, allocations: 4 kB / 0.7314 GB, free: 285 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003957/2.651, allocations: 0.6282 MB / 0.732 GB, free: 284.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/2.651, allocations: 0 / 0.732 GB, free: 284.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/2.652, allocations: 414.8 kB / 0.7324 GB, free: 283.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/2.653, allocations: 110 kB / 0.7325 GB, free: 283.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/2.653, allocations: 0 / 0.7325 GB, free: 283.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/2.653, allocations: 12 kB / 0.7325 GB, free: 283.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/2.653, allocations: 11.97 kB / 0.7325 GB, free: 283.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/2.653, allocations: 7.75 kB / 0.7325 GB, free: 283.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006507/2.654, allocations: 0.785 MB / 0.7333 GB, free: 283 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/2.654, allocations: 0 / 0.7333 GB, free: 283 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003196/2.657, allocations: 1.668 MB / 0.7349 GB, free: 281.6 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.005607/2.662, allocations: 2.729 MB / 0.7376 GB, free: 279.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005153/2.663, allocations: 237 kB / 0.7378 GB, free: 279.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/2.663, allocations: 0 / 0.7378 GB, free: 279.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/2.663, allocations: 47.97 kB / 0.7379 GB, free: 279.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005613/2.664, allocations: 88.88 kB / 0.738 GB, free: 279 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/2.665, allocations: 1.109 MB / 0.739 GB, free: 277.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/2.665, allocations: 351.7 kB / 0.7394 GB, free: 277.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001542/2.665, allocations: 71.53 kB / 0.7394 GB, free: 277.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.932e-05/2.665, allocations: 32.5 kB / 0.7395 GB, free: 277.4 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/2.665, allocations: 0 / 0.7395 GB, free: 277.4 MB / 0.6198 GB Notification: Performance of Templates: time 0.05093/2.716, allocations: 51.61 MB / 0.7899 GB, free: 226 MB / 0.6198 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.085120799019933]