Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.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.5575/0.5575, allocations: 120.4 MB / 140.2 MB, free: 12.97 MB / 138.7 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.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.256e-06/3.256e-06, allocations: 1.094 kB / 218 MB, free: 8.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/3.094e-05, allocations: 2.938 kB / 218 MB, free: 8.629 MB / 202.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.TestStaticCentrifugalPump1): time 0.9758/0.9759, allocations: 254.4 MB / 472.4 MB, free: 8.695 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.4034/1.379, allocations: 164.8 MB / 0.6223 GB, free: 9.859 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002625/1.379, allocations: 11.94 kB / 0.6223 GB, free: 9.848 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Machines/StaticCentrifugalPump.mo:63:3-64: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/Machines/StaticCentrifugalPump.mo:65:3-66:65:writable] Warning: Connector C2 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/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). Notification: Performance of NFTyping.typeComponents: time 0.0001223/1.38, allocations: 51.45 kB / 0.6223 GB, free: 9.797 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002917/1.38, allocations: 126.8 kB / 0.6225 GB, free: 9.672 MB / 0.5573 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.02342/1.403, allocations: 11.59 MB / 0.6338 GB, free: 14.09 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.000553/1.404, allocations: 454.3 kB / 0.6342 GB, free: 13.64 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/1.404, allocations: 185.3 kB / 0.6344 GB, free: 13.45 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/1.404, allocations: 263.4 kB / 0.6346 GB, free: 13.2 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/1.404, allocations: 143.5 kB / 0.6348 GB, free: 13.05 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/1.405, allocations: 40 kB / 0.6348 GB, free: 13.02 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02668/1.431, allocations: 18.56 MB / 0.6529 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002082/1.431, allocations: 99.59 kB / 0.653 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002146/1.432, allocations: 139.7 kB / 0.6532 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.02403/1.456, allocations: 12.32 MB / 0.6652 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/1.456, allocations: 0 / 0.6652 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/1.456, allocations: 0 / 0.6652 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.959e-06/1.456, allocations: 0 / 0.6652 GB, free: 13.85 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.003762/1.459, allocations: 1.798 MB / 0.6669 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/1.459, allocations: 12.03 kB / 0.667 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.157e-05/1.46, allocations: 52.41 kB / 0.667 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/1.46, allocations: 275.8 kB / 0.6673 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/1.46, allocations: 29.48 kB / 0.6673 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/1.46, allocations: 43.88 kB / 0.6673 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004548/1.46, allocations: 381 kB / 0.6677 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/1.46, allocations: 0 / 0.6677 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/1.46, allocations: 16 kB / 0.6677 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/1.46, allocations: 8 kB / 0.6677 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004454/1.461, allocations: 258.9 kB / 0.668 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00413/1.465, allocations: 3.144 MB / 0.671 GB, free: 7.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009272/1.466, allocations: 295.4 kB / 0.6713 GB, free: 7.434 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.429e-05/1.466, allocations: 56.83 kB / 0.6714 GB, free: 7.375 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0745/1.541, allocations: 45.59 MB / 0.7159 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/1.541, allocations: 38.44 kB / 0.7159 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 3.006e-06/1.541, allocations: 3.234 kB / 0.7159 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.002787/1.543, allocations: 0.8318 MB / 0.7168 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/1.543, allocations: 55.34 kB / 0.7168 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003095/1.544, allocations: 332.3 kB / 0.7171 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/1.544, allocations: 29.7 kB / 0.7171 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/1.544, allocations: 248 kB / 0.7174 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/1.544, allocations: 47.58 kB / 0.7174 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/1.544, allocations: 73.64 kB / 0.7175 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.29e-05/1.544, allocations: 334.8 kB / 0.7178 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/1.544, allocations: 63.97 kB / 0.7179 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/1.544, allocations: 161.3 kB / 0.718 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/1.545, allocations: 244.6 kB / 0.7183 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.545, allocations: 3.938 kB / 0.7183 GB, free: 7.152 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001209/1.546, allocations: 0.5552 MB / 0.7188 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/1.546, allocations: 8 kB / 0.7188 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.546, allocations: 0 / 0.7188 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00044/1.546, allocations: 157 kB / 0.719 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.841e-05/1.546, allocations: 48.47 kB / 0.719 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005424/1.547, allocations: 0.6894 MB / 0.7197 GB, free: 5.668 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/1.547, allocations: 31.81 kB / 0.7197 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/1.547, allocations: 12.66 kB / 0.7197 GB, free: 5.625 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,StaticCentrifugalPump1.fluid,sinkP.fluid,sourceP.fluid1,sourceP.C.diff_on_2,StaticCentrifugalPump1.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001559/1.547, allocations: 169.7 kB / 0.7199 GB, free: 5.449 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/1.547, allocations: 29.75 kB / 0.7199 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/1.548, allocations: 479.4 kB / 0.7204 GB, free: 4.941 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/1.548, allocations: 3.984 kB / 0.7204 GB, free: 4.938 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.548, allocations: 0 / 0.7204 GB, free: 4.938 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.548, allocations: 0 / 0.7204 GB, free: 4.938 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/1.549, allocations: 246.8 kB / 0.7206 GB, free: 4.668 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/1.549, allocations: 4 kB / 0.7206 GB, free: 4.664 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.623e-05/1.549, allocations: 4 kB / 0.7206 GB, free: 4.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003315/1.549, allocations: 153.6 kB / 0.7208 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/1.549, allocations: 4 kB / 0.7208 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004237/1.549, allocations: 0.685 MB / 0.7214 GB, free: 3.797 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.549, allocations: 0 / 0.7214 GB, free: 3.797 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/1.55, allocations: 475.3 kB / 0.7219 GB, free: 3.312 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-05/1.551, allocations: 43.77 kB / 0.7219 GB, free: 3.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/1.551, allocations: 8 kB / 0.722 GB, free: 3.262 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.706e-05/1.551, allocations: 0 / 0.722 GB, free: 3.262 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/1.551, allocations: 11.97 kB / 0.722 GB, free: 3.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/1.551, allocations: 11.94 kB / 0.722 GB, free: 3.238 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001636/1.551, allocations: 219 kB / 0.7222 GB, free: 3.023 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/1.551, allocations: 0 / 0.7222 GB, free: 3.023 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003147/1.554, allocations: 1.461 MB / 0.7236 GB, free: 1.559 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004261/1.558, allocations: 2.388 MB / 0.7259 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000398/1.559, allocations: 194.2 kB / 0.7261 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.559, allocations: 0 / 0.7261 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/1.559, allocations: 79.89 kB / 0.7262 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/1.559, allocations: 61.34 kB / 0.7263 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008322/1.56, allocations: 0.5991 MB / 0.7268 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/1.56, allocations: 186.8 kB / 0.727 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/1.56, allocations: 28.48 kB / 0.7271 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of SimCode: time 6.81e-07/1.56, allocations: 0 / 0.7271 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of Templates: time 0.1917/1.752, allocations: 29.24 MB / 0.7556 GB, free: 292.9 MB / 0.6667 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.295937129296362] Failed to read output from testmodel.py, exit status != 0: 1.996750097721815 1.8967318130000002 0.439685857 Calling exit ...