Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.5208/0.5208, allocations: 111.6 MB / 131.5 MB, free: 4.402 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.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 176.7 MB, free: 8.844 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.367e-05/1.504e-05, allocations: 5.125 kB / 176.7 MB, free: 8.84 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.Examples.SimpleExamples.TestStaticCentrifugalPump1): time 1.089/1.089, allocations: 263 MB / 439.7 MB, free: 14.94 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02778/1.117, allocations: 32.97 MB / 472.6 MB, free: 13.84 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/1.117, allocations: 0 / 472.6 MB, free: 13.84 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/StaticCentrifugalPump.mo:33:3-34:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/StaticCentrifugalPump.mo:35:3-36:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20:78:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SinkP.mo:19:3-20:80:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003034/1.118, allocations: 119.2 kB / 472.7 MB, free: 13.73 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/1.118, allocations: 123 kB / 472.9 MB, free: 13.61 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01631/1.134, allocations: 8.631 MB / 481.5 MB, free: 4.934 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000443/1.135, allocations: 414 kB / 481.9 MB, free: 4.527 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/1.135, allocations: 122.7 kB / 482 MB, free: 4.406 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002806/1.135, allocations: 263.2 kB / 482.3 MB, free: 4.148 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/1.135, allocations: 91.72 kB / 482.4 MB, free: 4.059 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/1.135, allocations: 24 kB / 482.4 MB, free: 4.035 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:525:9-525:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:708:9-708:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh1satp' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh2satp' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du1satp_der' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du2satp_der' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.2114/1.347, allocations: 18.05 MB / 0.4887 GB, free: 7.637 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.456e-05/1.347, allocations: 58.47 kB / 0.4888 GB, free: 7.637 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/1.347, allocations: 100 kB / 0.4889 GB, free: 7.637 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0123/1.359, allocations: 10.77 MB / 0.4994 GB, free: 3.938 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.359, allocations: 0 / 0.4994 GB, free: 3.938 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.353e-06/1.359, allocations: 1.188 kB / 0.4994 GB, free: 3.938 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/1.359, allocations: 0 / 0.4994 GB, free: 3.938 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.002557/1.362, allocations: 1.429 MB / 0.5008 GB, free: 2.973 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/1.362, allocations: 14.08 kB / 0.5008 GB, free: 2.969 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/1.362, allocations: 40.16 kB / 0.5008 GB, free: 2.953 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/1.362, allocations: 176.2 kB / 0.501 GB, free: 2.793 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/1.362, allocations: 11.34 kB / 0.501 GB, free: 2.789 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/1.362, allocations: 24.89 kB / 0.501 GB, free: 2.781 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/1.362, allocations: 256.6 kB / 0.5013 GB, free: 2.605 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/1.362, allocations: 3.094 kB / 0.5013 GB, free: 2.605 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/1.362, allocations: 12.97 kB / 0.5013 GB, free: 2.598 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/1.362, allocations: 14.77 kB / 0.5013 GB, free: 2.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.475e-05/1.362, allocations: 84.83 kB / 0.5014 GB, free: 2.578 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01383/1.376, allocations: 9.197 MB / 0.5104 GB, free: 12.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/1.376, allocations: 146.8 kB / 0.5105 GB, free: 11.97 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/1.376, allocations: 48.02 kB / 0.5105 GB, free: 11.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06564/1.442, allocations: 39.06 MB / 0.5487 GB, free: 4.98 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/1.442, allocations: 39.02 kB / 0.5487 GB, free: 4.938 MB / 474.7 MB Notification: Performance of pre-optimization done (n=41): time 1.783e-06/1.442, allocations: 0 / 0.5487 GB, free: 4.938 MB / 474.7 MB Notification: Performance of matching and sorting (n=41): time 0.00118/1.443, allocations: 401.2 kB / 0.5491 GB, free: 4.543 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/1.443, allocations: 51.41 kB / 0.5492 GB, free: 4.48 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/1.443, allocations: 196.8 kB / 0.5493 GB, free: 4.297 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/1.443, allocations: 29.7 kB / 0.5494 GB, free: 4.262 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/1.443, allocations: 158.7 kB / 0.5495 GB, free: 4.113 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.056e-05/1.444, allocations: 140.1 kB / 0.5497 GB, free: 3.984 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-05/1.444, allocations: 54.83 kB / 0.5497 GB, free: 3.934 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.685e-05/1.444, allocations: 339.9 kB / 0.55 GB, free: 3.605 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.872e-05/1.444, allocations: 35.33 kB / 0.5501 GB, free: 3.57 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.87e-05/1.444, allocations: 87.59 kB / 0.5502 GB, free: 3.48 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/1.444, allocations: 150.5 kB / 0.5503 GB, free: 3.332 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.444, allocations: 0 / 0.5503 GB, free: 3.332 MB / 474.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006009/1.445, allocations: 301.4 kB / 0.5506 GB, free: 3.039 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.445, allocations: 4 kB / 0.5506 GB, free: 3.035 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.445, allocations: 128 / 0.5506 GB, free: 3.035 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003463/1.445, allocations: 189.2 kB / 0.5508 GB, free: 2.855 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.498e-05/1.445, allocations: 23.98 kB / 0.5508 GB, free: 2.832 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003846/1.445, allocations: 0.636 MB / 0.5514 GB, free: 2.184 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.456e-05/1.445, allocations: 24.48 kB / 0.5514 GB, free: 2.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/1.445, allocations: 4 kB / 0.5514 GB, free: 2.156 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (StaticCentrifugalPump1.C1.a,StaticCentrifugalPump1.C2.b,sourceP.C.b,sinkP.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(4,6)} Notification: Performance of prepare postOptimizeDAE: time 8.101e-05/1.446, allocations: 125.7 kB / 0.5516 GB, free: 2.023 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/1.446, allocations: 15.98 kB / 0.5516 GB, free: 2.008 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004548/1.446, allocations: 0.6546 MB / 0.5522 GB, free: 1.418 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001287/1.446, allocations: 147.2 kB / 0.5524 GB, free: 1.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/1.446, allocations: 4.688 kB / 0.5524 GB, free: 1.266 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.446, allocations: 4 kB / 0.5524 GB, free: 1.262 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005222/1.447, allocations: 0.5544 MB / 0.5529 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.447, allocations: 1.953 kB / 0.5529 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.086e-05/1.447, allocations: 35.97 kB / 0.5529 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002762/1.447, allocations: 149.4 kB / 0.5531 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/1.447, allocations: 0 / 0.5531 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003503/1.447, allocations: 0.6463 MB / 0.5537 GB, free: 15.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.447, allocations: 1 kB / 0.5537 GB, free: 15.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/1.448, allocations: 325.9 kB / 0.554 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/1.448, allocations: 31.72 kB / 0.5541 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/1.448, allocations: 15.89 kB / 0.5541 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.696e-05/1.448, allocations: 4 kB / 0.5541 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/1.448, allocations: 17.09 kB / 0.5541 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/1.448, allocations: 8 kB / 0.5541 GB, free: 15.47 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.838e-05/1.448, allocations: 92.33 kB / 0.5542 GB, free: 15.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/1.448, allocations: 0 / 0.5542 GB, free: 15.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002224/1.45, allocations: 1.216 MB / 0.5554 GB, free: 14.17 MB / 490.7 MB 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 (13): * Single equations (assignments): 12 * 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 {(4,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003313/1.453, allocations: 2.027 MB / 0.5574 GB, free: 12.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003258/1.454, allocations: 213.5 kB / 0.5576 GB, free: 12.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.454, allocations: 8 kB / 0.5576 GB, free: 12.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/1.454, allocations: 105.7 kB / 0.5577 GB, free: 12.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/1.454, allocations: 121.3 kB / 0.5578 GB, free: 11.95 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009761/1.455, allocations: 0.5676 MB / 0.5583 GB, free: 11.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.132e-05/1.455, allocations: 100.2 kB / 0.5584 GB, free: 11.26 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.433e-05/1.455, allocations: 20.19 kB / 0.5585 GB, free: 11.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/1.455, allocations: 115.3 kB / 0.5586 GB, free: 11.12 MB / 490.7 MB Notification: Performance of SimCode: time 8.51e-07/1.455, allocations: 0 / 0.5586 GB, free: 11.12 MB / 490.7 MB Notification: Performance of Templates: time 0.04859/1.504, allocations: 49.73 MB / 0.6071 GB, free: 9.664 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.344053578097373]