Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo): time 0.5068/0.5068, allocations: 111.7 MB / 121.6 MB, free: 4.73 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08924/0.596, allocations: 33.97 MB / 155.6 MB, free: 3.652 MB / 154.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 156.9 MB, free: 2.371 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.7e-05, allocations: 5.406 kB / 156.9 MB, free: 2.367 MB / 154.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.TestStaticCentrifugalPumpWaterSolution): time 1.072/1.072, allocations: 233 MB / 390 MB, free: 2.961 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01183/1.083, allocations: 11.96 MB / 401.9 MB, free: 6.969 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/1.084, allocations: 4 kB / 401.9 MB, free: 6.965 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSolution/PressureLosses/SingularPressureLoss.mo:9:3-10:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSolution/PressureLosses/SingularPressureLoss.mo:11:3-12:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSolution/Machines/StaticCentrifugalPump.mo:26:3-27:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSolution/Machines/StaticCentrifugalPump.mo:28:3-29:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSolution/BoundaryConditions/SourcePQ.mo:8:3-9:78:writable] Warning: Connector Cs is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSolution/BoundaryConditions/Sink.mo:8:3-9:80:writable] Warning: Connector Ce is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] Notification: Performance of NFTyping.typeComponents: time 0.0001073/1.084, allocations: 43.11 kB / 402 MB, free: 6.926 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/1.084, allocations: 59.38 kB / 402 MB, free: 6.867 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006629/1.09, allocations: 2.997 MB / 405 MB, free: 3.859 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003712/1.091, allocations: 267.3 kB / 405.3 MB, free: 3.598 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/1.091, allocations: 140.9 kB / 405.4 MB, free: 3.457 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/1.091, allocations: 171.6 kB / 405.6 MB, free: 3.289 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/1.091, allocations: 95.69 kB / 405.7 MB, free: 3.195 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/1.091, allocations: 24 kB / 405.7 MB, free: 3.172 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01013/1.102, allocations: 7.765 MB / 413.5 MB, free: 11.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.773e-05/1.102, allocations: 47.75 kB / 413.5 MB, free: 11.35 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/1.102, allocations: 67.88 kB / 413.6 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006596/1.108, allocations: 3.158 MB / 416.7 MB, free: 8.121 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.895e-05/1.108, allocations: 0 / 416.7 MB, free: 8.121 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/1.108, allocations: 0 / 416.7 MB, free: 8.121 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.446e-05/1.108, allocations: 3.984 kB / 416.7 MB, free: 8.117 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001757/1.11, allocations: 0.9303 MB / 417.7 MB, free: 7.156 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/1.11, allocations: 16.03 kB / 417.7 MB, free: 7.141 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.946e-05/1.11, allocations: 36.91 kB / 417.7 MB, free: 7.105 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/1.11, allocations: 157.4 kB / 417.9 MB, free: 6.926 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/1.11, allocations: 20.88 kB / 417.9 MB, free: 6.906 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/1.11, allocations: 24.38 kB / 417.9 MB, free: 6.883 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/1.111, allocations: 265.9 kB / 418.2 MB, free: 6.582 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/1.111, allocations: 192 / 418.2 MB, free: 6.582 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/1.111, allocations: 8.375 kB / 418.2 MB, free: 6.574 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/1.111, allocations: 11.94 kB / 418.2 MB, free: 6.562 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/1.111, allocations: 121 kB / 418.3 MB, free: 6.441 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002749/1.114, allocations: 2.054 MB / 420.4 MB, free: 4.344 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/1.114, allocations: 116.2 kB / 420.5 MB, free: 4.215 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.796e-05/1.114, allocations: 58.55 kB / 420.5 MB, free: 4.148 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001753/1.116, allocations: 1.174 MB / 421.7 MB, free: 2.973 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/1.116, allocations: 148.8 kB / 421.9 MB, free: 2.805 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/1.116, allocations: 0 / 421.9 MB, free: 2.805 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002096/1.116, allocations: 190.8 kB / 422 MB, free: 2.594 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/1.116, allocations: 166.2 kB / 422.2 MB, free: 2.395 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/1.116, allocations: 198.2 kB / 422.4 MB, free: 2.188 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/1.116, allocations: 25.7 kB / 422.4 MB, free: 2.156 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/1.116, allocations: 164.2 kB / 422.6 MB, free: 1.992 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/1.116, allocations: 55.56 kB / 422.6 MB, free: 1.938 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/1.116, allocations: 49.67 kB / 422.7 MB, free: 1.883 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.404e-05/1.116, allocations: 334.8 kB / 423 MB, free: 1.547 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.294e-05/1.116, allocations: 57.8 kB / 423.1 MB, free: 1.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.081e-05/1.116, allocations: 105 kB / 423.2 MB, free: 1.348 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/1.117, allocations: 250.7 kB / 423.4 MB, free: 1.062 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.117, allocations: 7.938 kB / 423.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001534/1.117, allocations: 192.8 kB / 423.6 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/1.117, allocations: 33.7 kB / 423.7 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/1.117, allocations: 0 / 423.7 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/1.117, allocations: 4 kB / 423.7 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007301/1.118, allocations: 313 kB / 424 MB, free: 492 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002334/1.118, allocations: 0.5821 MB / 424.5 MB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.36e-05/1.118, allocations: 31.83 kB / 424.6 MB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/1.118, allocations: 8.062 kB / 424.6 MB, free: 15.84 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: pulse.T0:DISCRETE(fixed = true protected = true ) type: Real Pulse1.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,singularPressureLossWaterLiBr.C1.a,singularPressureLossWaterLiBr.C2.b,staticCentrifugalPumpWaterLiBr.C1.a,staticCentrifugalPumpWaterLiBr.C2.b,sourceSolution.Cs.b,sinkSolution.Ce.a,$PRE.pulse.T0,$PRE.Pulse1.T0,pulse.T0,Pulse1.T0,Pulse1.yL.signal,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001338/1.118, allocations: 164.9 kB / 424.7 MB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/1.118, allocations: 23.92 kB / 424.8 MB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/1.118, allocations: 173.3 kB / 424.9 MB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/1.118, allocations: 4 kB / 424.9 MB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/1.118, allocations: 4 kB / 424.9 MB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.118, allocations: 3.984 kB / 424.9 MB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/1.118, allocations: 129.8 kB / 425.1 MB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.118, allocations: 0 / 425.1 MB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005826/1.119, allocations: 207.8 kB / 425.3 MB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/1.119, allocations: 27.78 kB / 425.3 MB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/1.119, allocations: 3.938 kB / 425.3 MB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/1.119, allocations: 4 kB / 425.3 MB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003319/1.119, allocations: 0.582 MB / 425.9 MB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/1.119, allocations: 0 / 425.9 MB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/1.119, allocations: 184.4 kB / 426.1 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/1.119, allocations: 8 kB / 426.1 MB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.116e-05/1.12, allocations: 16.05 kB / 426.1 MB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/1.12, allocations: 19.97 kB / 426.1 MB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/1.12, allocations: 0 / 426.1 MB, free: 14.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.041e-05/1.12, allocations: 53.81 kB / 426.2 MB, free: 14.15 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.12, allocations: 0 / 426.2 MB, free: 14.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007917/1.12, allocations: 411.2 kB / 426.6 MB, free: 13.75 MB / 426.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: 5 ($whenCondition1,$whenCondition2,Pulse1.yL.signal,Pulse1.T0,pulse.T0) * Number of discrete states: 3 (Pulse1.yL.signal,Pulse1.T0,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001077/1.121, allocations: 0.5964 MB / 427.2 MB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003676/1.125, allocations: 0.8941 MB / 428.1 MB, free: 12.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/1.125, allocations: 4 kB / 428.1 MB, free: 12.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003168/1.128, allocations: 0.6783 MB / 428.7 MB, free: 11.51 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/1.129, allocations: 171.6 kB / 428.9 MB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/1.132, allocations: 475 kB / 429.4 MB, free: 10.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.09e-05/1.132, allocations: 79.97 kB / 429.5 MB, free: 10.71 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.142e-05/1.132, allocations: 25.48 kB / 429.5 MB, free: 10.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.975e-05/1.132, allocations: 87.3 kB / 429.6 MB, free: 10.61 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/1.132, allocations: 0 / 429.6 MB, free: 10.61 MB / 426.7 MB Notification: Performance of Templates: time 0.01461/1.146, allocations: 14.17 MB / 443.7 MB, free: 12.47 MB / 442.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08626/1.233, allocations: 53.75 MB / 497.5 MB, free: 6.625 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.436958834528923]