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.7982/0.7982, allocations: 111.6 MB / 131 MB, free: 5.102 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.033e-05/2.186e-05, allocations: 2.312 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.666/1.666, allocations: 254.9 MB / 430.6 MB, free: 288 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.4186/2.084, allocations: 184.1 MB / 0.6003 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002917/2.085, allocations: 7.938 kB / 0.6004 GB, free: 7.793 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.0004086/2.085, allocations: 207.1 kB / 0.6006 GB, free: 7.59 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0005186/2.086, allocations: 290.5 kB / 0.6008 GB, free: 7.305 MB / 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.03326/2.119, allocations: 12.58 MB / 0.6131 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009041/2.12, allocations: 0.5611 MB / 0.6137 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003695/2.12, allocations: 253.4 kB / 0.6139 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005565/2.121, allocations: 367.2 kB / 0.6143 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004398/2.121, allocations: 327.3 kB / 0.6146 GB, free: 9.195 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.44e-05/2.121, allocations: 40 kB / 0.6146 GB, free: 9.156 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03792/2.159, allocations: 19.72 MB / 0.6339 GB, free: 5.41 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000312/2.159, allocations: 227.3 kB / 0.6341 GB, free: 5.188 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003176/2.16, allocations: 195.4 kB / 0.6343 GB, free: 4.996 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0279/2.188, allocations: 13.41 MB / 0.6474 GB, free: 7.547 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/2.188, allocations: 0 / 0.6474 GB, free: 7.547 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.202e-06/2.188, allocations: 0 / 0.6474 GB, free: 7.547 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.947e-06/2.188, allocations: 0 / 0.6474 GB, free: 7.547 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.005665/2.193, allocations: 2.449 MB / 0.6497 GB, free: 5.047 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/2.193, allocations: 11.98 kB / 0.6498 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002836/2.194, allocations: 127.4 kB / 0.6499 GB, free: 4.91 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007726/2.194, allocations: 452.2 kB / 0.6503 GB, free: 4.438 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/2.194, allocations: 32.94 kB / 0.6503 GB, free: 4.406 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.117e-05/2.194, allocations: 44.62 kB / 0.6504 GB, free: 4.363 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007892/2.195, allocations: 0.5003 MB / 0.6509 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/2.195, allocations: 0 / 0.6509 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.188e-05/2.195, allocations: 23.98 kB / 0.6509 GB, free: 3.781 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/2.195, allocations: 8 kB / 0.6509 GB, free: 3.773 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005433/2.196, allocations: 266.4 kB / 0.6512 GB, free: 3.512 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009092/2.205, allocations: 4.014 MB / 0.6551 GB, free: 15.43 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005442/2.206, allocations: 129.6 kB / 0.6552 GB, free: 15.3 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.92e-05/2.206, allocations: 39.67 kB / 0.6552 GB, free: 15.25 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4567/2.662, allocations: 89.02 MB / 0.7422 GB, free: 276.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/2.662, allocations: 39.56 kB / 0.7422 GB, free: 276.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/2.662, allocations: 0 / 0.7422 GB, free: 276.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.00206/2.664, allocations: 409.6 kB / 0.7426 GB, free: 276.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/2.664, allocations: 107.5 kB / 0.7427 GB, free: 276.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000879/2.665, allocations: 0.9396 MB / 0.7436 GB, free: 275.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/2.665, allocations: 29.7 kB / 0.7436 GB, free: 275.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/2.666, allocations: 497 kB / 0.7441 GB, free: 274.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/2.666, allocations: 41.03 kB / 0.7442 GB, free: 274.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.936e-05/2.666, allocations: 99.25 kB / 0.7443 GB, free: 274.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001376/2.666, allocations: 0.6016 MB / 0.7448 GB, free: 273.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/2.666, allocations: 59.97 kB / 0.7449 GB, free: 273.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/2.666, allocations: 305 kB / 0.7452 GB, free: 273.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/2.666, allocations: 311.2 kB / 0.7455 GB, free: 273.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/2.666, allocations: 3.75 kB / 0.7455 GB, free: 273.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001147/2.668, allocations: 438.5 kB / 0.7459 GB, free: 272.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/2.668, allocations: 8.938 kB / 0.7459 GB, free: 272.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/2.668, allocations: 4.469 kB / 0.7459 GB, free: 272.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/2.669, allocations: 189.4 kB / 0.7461 GB, free: 272.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/2.669, allocations: 43.92 kB / 0.7461 GB, free: 272.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004507/2.67, allocations: 0.9131 MB / 0.747 GB, free: 271.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/2.67, allocations: 37.62 kB / 0.7471 GB, free: 271.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/2.67, allocations: 16 kB / 0.7471 GB, free: 271.4 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.0001439/2.67, allocations: 202.9 kB / 0.7473 GB, free: 271.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.688e-05/2.67, allocations: 75.52 kB / 0.7474 GB, free: 271.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006318/2.671, allocations: 254.1 kB / 0.7476 GB, free: 270.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/2.671, allocations: 3.984 kB / 0.7476 GB, free: 270.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/2.671, allocations: 4 kB / 0.7476 GB, free: 270.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/2.671, allocations: 0 / 0.7476 GB, free: 270.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/2.672, allocations: 0.9374 MB / 0.7485 GB, free: 269.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/2.672, allocations: 0 / 0.7485 GB, free: 269.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-05/2.672, allocations: 4 kB / 0.7485 GB, free: 269.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001006/2.673, allocations: 156.2 kB / 0.7487 GB, free: 269.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/2.673, allocations: 0 / 0.7487 GB, free: 269.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004058/2.674, allocations: 0.9054 MB / 0.7496 GB, free: 268.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/2.674, allocations: 3.938 kB / 0.7496 GB, free: 268.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/2.675, allocations: 477.5 kB / 0.75 GB, free: 268.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/2.675, allocations: 95.53 kB / 0.7501 GB, free: 268.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.716e-05/2.675, allocations: 8 kB / 0.7501 GB, free: 268.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/2.675, allocations: 8 kB / 0.7501 GB, free: 268.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/2.675, allocations: 15.86 kB / 0.7501 GB, free: 268.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/2.675, allocations: 0 / 0.7501 GB, free: 268.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005232/2.676, allocations: 0.5536 MB / 0.7507 GB, free: 267.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.1e-08/2.676, allocations: 0 / 0.7507 GB, free: 267.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003262/2.679, allocations: 1.68 MB / 0.7523 GB, free: 266.2 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.005269/2.685, allocations: 2.716 MB / 0.755 GB, free: 263.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004975/2.685, allocations: 184.9 kB / 0.7551 GB, free: 263.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/2.685, allocations: 0 / 0.7551 GB, free: 263.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/2.685, allocations: 63.59 kB / 0.7552 GB, free: 263.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005375/2.686, allocations: 101.2 kB / 0.7553 GB, free: 263.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/2.687, allocations: 0.9771 MB / 0.7563 GB, free: 262.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/2.687, allocations: 333.9 kB / 0.7566 GB, free: 262.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000135/2.687, allocations: 57.56 kB / 0.7566 GB, free: 262 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/2.687, allocations: 36.5 kB / 0.7567 GB, free: 262 MB / 0.6198 GB Notification: Performance of SimCode: time 7.82e-07/2.687, allocations: 0 / 0.7567 GB, free: 262 MB / 0.6198 GB Notification: Performance of Templates: time 0.05319/2.741, allocations: 52.31 MB / 0.8078 GB, free: 209.9 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.084117832942866]