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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.4646/0.4646, allocations: 111.6 MB / 131.4 MB, free: 4.43 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.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 2.495e-06/2.495e-06, allocations: 0 / 176.5 MB, free: 8.926 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.409e-05, allocations: 8.562 kB / 176.5 MB, free: 8.922 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.TestStaticCentrifugalPumpWaterSolution): time 1.078/1.078, allocations: 256.8 MB / 433.3 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0109/1.089, allocations: 11.73 MB / 445 MB, free: 4.824 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.395e-05/1.089, allocations: 7.938 kB / 445.1 MB, free: 4.816 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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). Notification: Performance of NFTyping.typeComponents: time 8.501e-05/1.089, allocations: 31.66 kB / 445.1 MB, free: 4.785 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/1.09, allocations: 71.34 kB / 445.2 MB, free: 4.715 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004868/1.094, allocations: 3.447 MB / 448.6 MB, free: 1.258 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002505/1.095, allocations: 271.2 kB / 448.9 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/1.095, allocations: 132.1 kB / 449 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/1.095, allocations: 151.7 kB / 449.1 MB, free: 0.7109 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.676e-05/1.095, allocations: 95.69 kB / 449.2 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/1.095, allocations: 24 kB / 449.3 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007117/1.102, allocations: 7.287 MB / 456.5 MB, free: 9.297 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.451e-05/1.102, allocations: 59.75 kB / 456.6 MB, free: 9.238 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.793e-05/1.102, allocations: 83.83 kB / 456.7 MB, free: 9.156 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003968/1.106, allocations: 4.397 MB / 461.1 MB, free: 4.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.106, allocations: 0 / 461.1 MB, free: 4.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/1.106, allocations: 0 / 461.1 MB, free: 4.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/1.106, allocations: 4 kB / 461.1 MB, free: 4.746 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.001073/1.107, allocations: 0.8442 MB / 461.9 MB, free: 3.859 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/1.108, allocations: 11.98 kB / 461.9 MB, free: 3.848 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.822e-05/1.108, allocations: 52.78 kB / 462 MB, free: 3.797 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/1.108, allocations: 184.1 kB / 462.2 MB, free: 3.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/1.108, allocations: 16.88 kB / 462.2 MB, free: 3.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/1.108, allocations: 28.36 kB / 462.2 MB, free: 3.543 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/1.108, allocations: 285.7 kB / 462.5 MB, free: 3.219 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/1.108, allocations: 192 / 462.5 MB, free: 3.219 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/1.108, allocations: 12.38 kB / 462.5 MB, free: 3.207 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/1.108, allocations: 11.94 kB / 462.5 MB, free: 3.195 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/1.108, allocations: 109 kB / 462.6 MB, free: 3.086 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002702/1.111, allocations: 2.483 MB / 465.1 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/1.111, allocations: 125 kB / 465.2 MB, free: 408 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.865e-05/1.111, allocations: 61.38 kB / 465.3 MB, free: 336 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001869/1.113, allocations: 1.189 MB / 466.5 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003176/1.113, allocations: 148.3 kB / 466.6 MB, free: 14.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/1.113, allocations: 0 / 466.6 MB, free: 14.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002487/1.114, allocations: 238.4 kB / 466.9 MB, free: 14.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/1.114, allocations: 110.8 kB / 467 MB, free: 14.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/1.114, allocations: 237.7 kB / 467.2 MB, free: 14.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/1.114, allocations: 33.7 kB / 467.2 MB, free: 14.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.27e-05/1.114, allocations: 218.9 kB / 467.4 MB, free: 14.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/1.114, allocations: 59.52 kB / 467.5 MB, free: 14.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.869e-05/1.114, allocations: 63.25 kB / 467.6 MB, free: 13.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/1.114, allocations: 0.5001 MB / 468.1 MB, free: 13.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.496e-05/1.114, allocations: 49.91 kB / 468.1 MB, free: 13.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.721e-05/1.114, allocations: 135.6 kB / 468.2 MB, free: 13.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/1.114, allocations: 257.8 kB / 468.5 MB, free: 12.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.114, allocations: 0 / 468.5 MB, free: 12.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001959/1.115, allocations: 233 kB / 468.7 MB, free: 12.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/1.115, allocations: 37.7 kB / 468.8 MB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.115, allocations: 3.938 kB / 468.8 MB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/1.115, allocations: 4 kB / 468.8 MB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/1.115, allocations: 215.7 kB / 469 MB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002741/1.116, allocations: 0.9048 MB / 469.9 MB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.45e-05/1.116, allocations: 23.88 kB / 469.9 MB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/1.116, allocations: 8 kB / 469.9 MB, free: 11.42 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.0001327/1.116, allocations: 210.1 kB / 470.1 MB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/1.116, allocations: 27.92 kB / 470.2 MB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/1.116, allocations: 210.4 kB / 470.4 MB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/1.116, allocations: 0 / 470.4 MB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/1.116, allocations: 0 / 470.4 MB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/1.116, allocations: 0 / 470.4 MB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/1.116, allocations: 165.1 kB / 470.5 MB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.116, allocations: 0 / 470.5 MB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005994/1.117, allocations: 207.7 kB / 470.7 MB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/1.117, allocations: 0 / 470.7 MB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/1.117, allocations: 11.98 kB / 470.7 MB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000235/1.117, allocations: 0.8933 MB / 471.6 MB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.117, allocations: 8.047 kB / 471.6 MB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/1.117, allocations: 231.6 kB / 471.9 MB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/1.117, allocations: 31.81 kB / 471.9 MB, free: 9.328 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/1.117, allocations: 4 kB / 471.9 MB, free: 9.324 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.17e-05/1.117, allocations: 8 kB / 471.9 MB, free: 9.316 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/1.117, allocations: 19.97 kB / 471.9 MB, free: 9.297 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/1.117, allocations: 4 kB / 471.9 MB, free: 9.293 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.224e-05/1.117, allocations: 172.1 kB / 472.1 MB, free: 9.125 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/1.117, allocations: 0 / 472.1 MB, free: 9.125 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005303/1.118, allocations: 411.2 kB / 472.5 MB, free: 8.723 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.0009654/1.119, allocations: 0.5807 MB / 473.1 MB, free: 8.133 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004141/1.123, allocations: 0.8991 MB / 474 MB, free: 7.207 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/1.123, allocations: 0 / 474 MB, free: 7.207 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003452/1.126, allocations: 0.6608 MB / 474.6 MB, free: 6.523 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/1.127, allocations: 27.98 kB / 474.7 MB, free: 6.496 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008033/1.127, allocations: 480.8 kB / 475.1 MB, free: 5.988 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.945e-05/1.127, allocations: 83.97 kB / 475.2 MB, free: 5.887 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.363e-05/1.127, allocations: 17.48 kB / 475.2 MB, free: 5.867 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.603e-05/1.128, allocations: 106.1 kB / 475.3 MB, free: 5.762 MB / 426.7 MB Notification: Performance of SimCode: time 4.8e-07/1.128, allocations: 0 / 475.3 MB, free: 5.762 MB / 426.7 MB Notification: Performance of Templates: time 0.1925/1.32, allocations: 14.55 MB / 489.9 MB, free: 27.32 MB / 426.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.6478284429758787]