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.8206/0.8206, allocations: 120.4 MB / 139.5 MB, free: 484 kB / 126.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/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.382e-06/1.382e-06, allocations: 0 / 217.2 MB, free: 13.72 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.13e-05, allocations: 3.922 kB / 217.2 MB, free: 13.72 MB / 206.1 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.477/1.477, allocations: 254.5 MB / 471.7 MB, free: 10.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3936/1.871, allocations: 167.5 MB / 0.6242 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002668/1.871, allocations: 11.94 kB / 0.6242 GB, free: 1.824 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:59:3-60:65: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:47:3-48:67: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:57:3-58:67: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:59:3-60:67: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.0003944/1.871, allocations: 211.9 kB / 0.6244 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000469/1.872, allocations: 294.5 kB / 0.6247 GB, free: 1.328 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783: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:850:9-850: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:1088:9-1088: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:69:3-69: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:69:3-69: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:167:3-170:49: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:167:3-170:49: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:63:5-63:84: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.03161/1.903, allocations: 12.57 MB / 0.637 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008052/1.904, allocations: 0.5611 MB / 0.6375 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000336/1.904, allocations: 241.2 kB / 0.6378 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005043/1.905, allocations: 363.2 kB / 0.6381 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000404/1.905, allocations: 331.3 kB / 0.6384 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.357e-05/1.905, allocations: 44 kB / 0.6385 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03635/1.942, allocations: 19.74 MB / 0.6577 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002796/1.942, allocations: 223.3 kB / 0.658 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002918/1.942, allocations: 196.2 kB / 0.6581 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02592/1.968, allocations: 13.43 MB / 0.6713 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.968, allocations: 0 / 0.6713 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/1.968, allocations: 4 kB / 0.6713 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.272e-05/1.968, allocations: 3.938 kB / 0.6713 GB, free: 1.574 MB / 0.6075 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.005465/1.974, allocations: 2.267 MB / 0.6735 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/1.974, allocations: 8.031 kB / 0.6735 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/1.974, allocations: 91.44 kB / 0.6736 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008082/1.975, allocations: 0.5214 MB / 0.6741 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/1.975, allocations: 29 kB / 0.6741 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-05/1.975, allocations: 40 kB / 0.6742 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000813/1.976, allocations: 0.5301 MB / 0.6747 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/1.976, allocations: 0 / 0.6747 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/1.976, allocations: 16 kB / 0.6747 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/1.976, allocations: 13.97 kB / 0.6747 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006701/1.977, allocations: 422.3 kB / 0.6751 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008561/1.985, allocations: 3.681 MB / 0.6787 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005631/1.986, allocations: 111.4 kB / 0.6788 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.773e-05/1.986, allocations: 36.84 kB / 0.6788 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4616/2.447, allocations: 88.69 MB / 0.7654 GB, free: 251.1 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/2.447, allocations: 31.44 kB / 0.7655 GB, free: 251.1 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/2.447, allocations: 0 / 0.7655 GB, free: 251.1 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.002041/2.449, allocations: 405.5 kB / 0.7659 GB, free: 250.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/2.449, allocations: 110.8 kB / 0.766 GB, free: 250.6 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/2.45, allocations: 1.09 MB / 0.767 GB, free: 249.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/2.45, allocations: 29.7 kB / 0.7671 GB, free: 249.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/2.451, allocations: 384.8 kB / 0.7674 GB, free: 249.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/2.451, allocations: 43.78 kB / 0.7675 GB, free: 249.1 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.376e-05/2.451, allocations: 81.59 kB / 0.7675 GB, free: 249 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.129e-05/2.451, allocations: 374.8 kB / 0.7679 GB, free: 248.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/2.451, allocations: 126.3 kB / 0.768 GB, free: 248.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/2.451, allocations: 313.1 kB / 0.7683 GB, free: 248.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/2.452, allocations: 323 kB / 0.7686 GB, free: 247.8 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/2.452, allocations: 4 kB / 0.7686 GB, free: 247.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001243/2.453, allocations: 0.5579 MB / 0.7692 GB, free: 247.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/2.453, allocations: 9.75 kB / 0.7692 GB, free: 247.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/2.453, allocations: 4 kB / 0.7692 GB, free: 247.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/2.454, allocations: 191.1 kB / 0.7694 GB, free: 247 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/2.454, allocations: 52.56 kB / 0.7694 GB, free: 247 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004318/2.455, allocations: 0.626 MB / 0.77 GB, free: 246.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/2.455, allocations: 45.78 kB / 0.7701 GB, free: 246.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/2.455, allocations: 16.55 kB / 0.7701 GB, free: 246.3 MB / 0.6544 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.0002173/2.455, allocations: 269.5 kB / 0.7704 GB, free: 246 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.01e-05/2.455, allocations: 67.53 kB / 0.7704 GB, free: 245.9 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006226/2.456, allocations: 275.1 kB / 0.7707 GB, free: 245.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/2.456, allocations: 0 / 0.7707 GB, free: 245.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/2.456, allocations: 0 / 0.7707 GB, free: 245.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/2.456, allocations: 1.422 kB / 0.7707 GB, free: 245.7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/2.458, allocations: 0.7383 MB / 0.7714 GB, free: 244.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/2.458, allocations: 0 / 0.7714 GB, free: 244.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-05/2.458, allocations: 4 kB / 0.7714 GB, free: 244.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/2.459, allocations: 156.7 kB / 0.7716 GB, free: 244.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/2.459, allocations: 0 / 0.7716 GB, free: 244.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003881/2.459, allocations: 0.6315 MB / 0.7722 GB, free: 244.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/2.459, allocations: 0 / 0.7722 GB, free: 244.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/2.46, allocations: 413.3 kB / 0.7726 GB, free: 243.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/2.46, allocations: 104.5 kB / 0.7727 GB, free: 243.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.838e-05/2.461, allocations: 8.484 kB / 0.7727 GB, free: 243.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/2.461, allocations: 12 kB / 0.7727 GB, free: 243.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/2.461, allocations: 7.984 kB / 0.7727 GB, free: 243.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/2.461, allocations: 8.547 kB / 0.7727 GB, free: 243.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006505/2.461, allocations: 0.7802 MB / 0.7735 GB, free: 242.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/2.461, allocations: 0 / 0.7735 GB, free: 242.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003502/2.465, allocations: 1.678 MB / 0.7751 GB, free: 241.4 MB / 0.6544 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.006799/2.472, allocations: 2.728 MB / 0.7778 GB, free: 239 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005227/2.472, allocations: 244.8 kB / 0.778 GB, free: 238.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/2.472, allocations: 0 / 0.778 GB, free: 238.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/2.472, allocations: 43.97 kB / 0.778 GB, free: 238.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005787/2.473, allocations: 92.42 kB / 0.7781 GB, free: 238.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/2.474, allocations: 1.092 MB / 0.7792 GB, free: 237.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/2.475, allocations: 349.9 kB / 0.7795 GB, free: 237.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001544/2.475, allocations: 72.23 kB / 0.7796 GB, free: 237.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.491e-05/2.475, allocations: 32.5 kB / 0.7796 GB, free: 237.1 MB / 0.6544 GB Notification: Performance of SimCode: time 5.01e-07/2.475, allocations: 0 / 0.7796 GB, free: 237.1 MB / 0.6544 GB Notification: Performance of Templates: time 0.05333/2.528, allocations: 51.38 MB / 0.8298 GB, free: 186 MB / 0.6544 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: 8.710776001214981] Failed to read output from testmodel.py, exit status != 0: 2.6407882422208786 2.650166386 0.6795513759999999 Calling exit ...