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.8011/0.8011, allocations: 111.6 MB / 131 MB, free: 5.086 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.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 2.605e-06/2.605e-06, allocations: 0 / 175.7 MB, free: 9.449 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/3.006e-05, allocations: 2.312 kB / 175.7 MB, free: 9.445 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.TestStaticCentrifugalPump1): time 1.69/1.69, allocations: 254.9 MB / 430.6 MB, free: 316 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.4279/2.118, allocations: 181.2 MB / 0.5974 GB, free: 9.695 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002512/2.118, allocations: 11.94 kB / 0.5975 GB, free: 9.684 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Machines/StaticCentrifugalPump.mo:40:3-41: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/Machines/StaticCentrifugalPump.mo:42:3-43:78: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: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). Notification: Performance of NFTyping.typeComponents: time 0.0001347/2.119, allocations: 43.52 kB / 0.5975 GB, free: 9.641 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003718/2.119, allocations: 130.8 kB / 0.5976 GB, free: 9.512 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.03056/2.149, allocations: 11.59 MB / 0.6089 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0007111/2.15, allocations: 458.2 kB / 0.6094 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003032/2.15, allocations: 193.4 kB / 0.6096 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003574/2.151, allocations: 263.4 kB / 0.6098 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/2.151, allocations: 143.6 kB / 0.61 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.346e-05/2.151, allocations: 36 kB / 0.61 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03586/2.187, allocations: 18.56 MB / 0.6281 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001795/2.187, allocations: 91.61 kB / 0.6282 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0002426/2.187, allocations: 147.7 kB / 0.6283 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0269/2.214, allocations: 12.31 MB / 0.6404 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/2.214, allocations: 0 / 0.6404 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.272e-06/2.214, allocations: 0 / 0.6404 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.424e-06/2.214, allocations: 0 / 0.6404 GB, free: 13.7 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.004596/2.219, allocations: 1.927 MB / 0.6423 GB, free: 11.72 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/2.219, allocations: 11.98 kB / 0.6423 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/2.219, allocations: 87.61 kB / 0.6423 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004779/2.22, allocations: 286.7 kB / 0.6426 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/2.22, allocations: 29 kB / 0.6426 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.472e-05/2.22, allocations: 36 kB / 0.6427 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007193/2.22, allocations: 405.9 kB / 0.6431 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/2.22, allocations: 0 / 0.6431 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.551e-05/2.22, allocations: 16.62 kB / 0.6431 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/2.221, allocations: 15.94 kB / 0.6431 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005536/2.221, allocations: 246.4 kB / 0.6433 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008521/2.23, allocations: 3.544 MB / 0.6468 GB, free: 6.949 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/2.231, allocations: 235 kB / 0.647 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/2.231, allocations: 54.3 kB / 0.6471 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1691/2.4, allocations: 45.74 MB / 0.6917 GB, free: 8.867 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.711e-05/2.4, allocations: 37.38 kB / 0.6918 GB, free: 8.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/2.4, allocations: 0 / 0.6918 GB, free: 8.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.004034/2.404, allocations: 0.6223 MB / 0.6924 GB, free: 8.188 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/2.404, allocations: 63.41 kB / 0.6924 GB, free: 8.113 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005326/2.405, allocations: 426 kB / 0.6928 GB, free: 7.684 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/2.405, allocations: 29.7 kB / 0.6929 GB, free: 7.648 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/2.405, allocations: 306.7 kB / 0.6932 GB, free: 7.344 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/2.405, allocations: 51.58 kB / 0.6932 GB, free: 7.293 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/2.405, allocations: 91.28 kB / 0.6933 GB, free: 7.195 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002902/2.405, allocations: 0.5157 MB / 0.6938 GB, free: 6.668 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/2.406, allocations: 59.97 kB / 0.6939 GB, free: 6.609 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/2.406, allocations: 207.7 kB / 0.6941 GB, free: 6.344 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004767/2.406, allocations: 291.1 kB / 0.6943 GB, free: 5.996 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/2.406, allocations: 4.75 kB / 0.6943 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001927/2.408, allocations: 482.8 kB / 0.6948 GB, free: 5.512 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/2.408, allocations: 8 kB / 0.6948 GB, free: 5.504 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/2.408, allocations: 224 / 0.6948 GB, free: 5.504 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001801/2.41, allocations: 234.7 kB / 0.695 GB, free: 5.273 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/2.41, allocations: 39.98 kB / 0.6951 GB, free: 5.234 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/2.411, allocations: 0.9677 MB / 0.696 GB, free: 4.234 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/2.412, allocations: 27.78 kB / 0.696 GB, free: 4.207 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/2.412, allocations: 12 kB / 0.6961 GB, free: 4.195 MB / 0.6042 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.0003314/2.412, allocations: 194.5 kB / 0.6962 GB, free: 3.996 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.501e-05/2.412, allocations: 39.75 kB / 0.6963 GB, free: 3.957 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/2.414, allocations: 395.6 kB / 0.6967 GB, free: 3.551 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/2.414, allocations: 4 kB / 0.6967 GB, free: 3.547 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/2.414, allocations: 0 / 0.6967 GB, free: 3.547 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/2.414, allocations: 0 / 0.6967 GB, free: 3.547 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/2.414, allocations: 308.4 kB / 0.697 GB, free: 3.211 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/2.414, allocations: 3.984 kB / 0.697 GB, free: 3.207 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.063e-05/2.414, allocations: 15.97 kB / 0.697 GB, free: 3.191 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001693/2.416, allocations: 219.5 kB / 0.6972 GB, free: 2.973 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/2.416, allocations: 3.938 kB / 0.6972 GB, free: 2.969 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009716/2.417, allocations: 0.9601 MB / 0.6981 GB, free: 1.977 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/2.417, allocations: 3.938 kB / 0.6981 GB, free: 1.973 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/2.419, allocations: 399.2 kB / 0.6985 GB, free: 1.555 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/2.419, allocations: 39.83 kB / 0.6986 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/2.419, allocations: 11.94 kB / 0.6986 GB, free: 1.504 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.789e-05/2.419, allocations: 0 / 0.6986 GB, free: 1.504 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/2.419, allocations: 11.92 kB / 0.6986 GB, free: 1.492 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/2.419, allocations: 8 kB / 0.6986 GB, free: 1.484 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000295/2.419, allocations: 259 kB / 0.6988 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/2.419, allocations: 4 kB / 0.6988 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003773/2.423, allocations: 1.461 MB / 0.7003 GB, free: 15.77 MB / 0.6198 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.006146/2.429, allocations: 2.365 MB / 0.7026 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006821/2.43, allocations: 200.5 kB / 0.7028 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/2.43, allocations: 0 / 0.7028 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003023/2.43, allocations: 99.45 kB / 0.7029 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/2.431, allocations: 81.16 kB / 0.7029 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/2.432, allocations: 0.562 MB / 0.7035 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/2.432, allocations: 190.8 kB / 0.7037 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.713e-05/2.432, allocations: 22.3 kB / 0.7037 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.751e-05/2.432, allocations: 24.5 kB / 0.7037 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/2.432, allocations: 0 / 0.7037 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.1969/2.629, allocations: 46.82 MB / 0.7494 GB, free: 266.8 MB / 0.6198 GB " [Timeout remaining time 657] 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.979718136019073]