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.4947/0.4947, allocations: 111.6 MB / 131.7 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.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.443e-06/1.443e-06, allocations: 0 / 176.5 MB, free: 9.43 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.547e-05, allocations: 5.047 kB / 176.5 MB, free: 9.426 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.035/1.035, allocations: 257.2 MB / 433.7 MB, free: 15.86 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3703/1.406, allocations: 184.1 MB / 0.6034 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002006/1.406, allocations: 11.88 kB / 0.6034 GB, free: 7.379 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.0002104/1.406, allocations: 207.2 kB / 0.6036 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002627/1.406, allocations: 294.4 kB / 0.6038 GB, free: 6.887 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.02314/1.43, allocations: 12.58 MB / 0.6161 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005349/1.43, allocations: 0.5611 MB / 0.6167 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/1.43, allocations: 253.4 kB / 0.6169 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002968/1.431, allocations: 367.2 kB / 0.6173 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/1.431, allocations: 319.4 kB / 0.6176 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.681e-05/1.431, allocations: 43.94 kB / 0.6176 GB, free: 8.746 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02424/1.455, allocations: 19.72 MB / 0.6369 GB, free: 5 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001952/1.455, allocations: 227.3 kB / 0.6371 GB, free: 4.777 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001773/1.456, allocations: 195.4 kB / 0.6373 GB, free: 4.586 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01951/1.475, allocations: 13.14 MB / 0.6501 GB, free: 7.406 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/1.475, allocations: 0 / 0.6501 GB, free: 7.406 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.034e-06/1.475, allocations: 0 / 0.6501 GB, free: 7.406 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.681e-06/1.475, allocations: 0 / 0.6501 GB, free: 7.406 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.003006/1.478, allocations: 2.386 MB / 0.6524 GB, free: 4.969 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/1.478, allocations: 15.98 kB / 0.6524 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/1.478, allocations: 120.1 kB / 0.6526 GB, free: 4.836 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/1.479, allocations: 460.2 kB / 0.653 GB, free: 4.355 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/1.479, allocations: 32.94 kB / 0.653 GB, free: 4.324 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/1.479, allocations: 40 kB / 0.6531 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004151/1.479, allocations: 441 kB / 0.6535 GB, free: 3.793 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.479, allocations: 0 / 0.6535 GB, free: 3.793 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/1.479, allocations: 16 kB / 0.6535 GB, free: 3.777 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/1.479, allocations: 12 kB / 0.6535 GB, free: 3.766 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/1.479, allocations: 175.7 kB / 0.6537 GB, free: 3.594 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004287/1.484, allocations: 3.801 MB / 0.6574 GB, free: 15.72 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/1.484, allocations: 99.14 kB / 0.6575 GB, free: 15.61 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.398e-05/1.484, allocations: 31.67 kB / 0.6575 GB, free: 15.58 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2872/1.771, allocations: 89.02 MB / 0.7445 GB, free: 277.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/1.771, allocations: 39.58 kB / 0.7445 GB, free: 277 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.605e-06/1.771, allocations: 0 / 0.7445 GB, free: 277 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001169/1.772, allocations: 368.9 kB / 0.7448 GB, free: 276.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/1.773, allocations: 108.8 kB / 0.7449 GB, free: 276.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005644/1.773, allocations: 0.791 MB / 0.7457 GB, free: 275.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/1.773, allocations: 25.7 kB / 0.7457 GB, free: 275.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/1.773, allocations: 452.3 kB / 0.7462 GB, free: 275.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/1.773, allocations: 40.53 kB / 0.7462 GB, free: 275.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.378e-05/1.773, allocations: 91.09 kB / 0.7463 GB, free: 275.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.794e-05/1.773, allocations: 0.5665 MB / 0.7469 GB, free: 274.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.855e-05/1.774, allocations: 31.98 kB / 0.7469 GB, free: 274.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/1.774, allocations: 273.1 kB / 0.7471 GB, free: 274.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/1.774, allocations: 269.9 kB / 0.7474 GB, free: 273.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.774, allocations: 3.75 kB / 0.7474 GB, free: 273.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006078/1.774, allocations: 390.5 kB / 0.7478 GB, free: 273.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/1.774, allocations: 12.66 kB / 0.7478 GB, free: 273.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.774, allocations: 4 kB / 0.7478 GB, free: 273.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006896/1.775, allocations: 175.7 kB / 0.748 GB, free: 273.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.081e-05/1.775, allocations: 51.91 kB / 0.748 GB, free: 273.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003073/1.776, allocations: 0.8662 MB / 0.7489 GB, free: 272.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/1.776, allocations: 36.86 kB / 0.7489 GB, free: 272.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/1.776, allocations: 12 kB / 0.7489 GB, free: 272.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.0001035/1.776, allocations: 179.7 kB / 0.7491 GB, free: 272.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/1.776, allocations: 75.52 kB / 0.7491 GB, free: 272.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/1.776, allocations: 225.3 kB / 0.7494 GB, free: 271.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.776, allocations: 0 / 0.7494 GB, free: 271.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/1.776, allocations: 4 kB / 0.7494 GB, free: 271.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/1.776, allocations: 3.984 kB / 0.7494 GB, free: 271.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008177/1.777, allocations: 0.7887 MB / 0.7501 GB, free: 271.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/1.777, allocations: 0 / 0.7501 GB, free: 271.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.303e-05/1.777, allocations: 7.719 kB / 0.7501 GB, free: 271.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004422/1.777, allocations: 146.8 kB / 0.7503 GB, free: 270.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/1.777, allocations: 4 kB / 0.7503 GB, free: 270.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000238/1.778, allocations: 0.8624 MB / 0.7511 GB, free: 270 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.778, allocations: 7.938 kB / 0.7511 GB, free: 270 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000538/1.778, allocations: 439.4 kB / 0.7516 GB, free: 269.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-05/1.778, allocations: 99.53 kB / 0.7517 GB, free: 269.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/1.778, allocations: 1.969 kB / 0.7517 GB, free: 269.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/1.778, allocations: 8 kB / 0.7517 GB, free: 269.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/1.778, allocations: 15.86 kB / 0.7517 GB, free: 269.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/1.778, allocations: 4 kB / 0.7517 GB, free: 269.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003019/1.779, allocations: 0.495 MB / 0.7522 GB, free: 268.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/1.779, allocations: 0 / 0.7522 GB, free: 268.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003053/1.782, allocations: 1.675 MB / 0.7538 GB, free: 267.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.003897/1.786, allocations: 2.722 MB / 0.7565 GB, free: 265.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002918/1.786, allocations: 148.3 kB / 0.7566 GB, free: 265 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.786, allocations: 0 / 0.7566 GB, free: 265 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.144e-05/1.786, allocations: 51.59 kB / 0.7567 GB, free: 264.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/1.786, allocations: 85.22 kB / 0.7567 GB, free: 264.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/1.788, allocations: 0.9803 MB / 0.7577 GB, free: 263.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.984e-05/1.788, allocations: 161.2 kB / 0.7578 GB, free: 263.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.839e-05/1.788, allocations: 56.55 kB / 0.7579 GB, free: 263.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/1.788, allocations: 32.5 kB / 0.7579 GB, free: 263.6 MB / 0.6198 GB Notification: Performance of SimCode: time 7.01e-07/1.788, allocations: 8 kB / 0.7579 GB, free: 263.6 MB / 0.6198 GB Notification: Performance of Templates: time 0.03895/1.827, allocations: 52.36 MB / 0.8091 GB, free: 211.4 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: 5.663353554904461]