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.5058/0.5058, allocations: 111.6 MB / 131.5 MB, free: 4.902 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 1.542e-06/1.542e-06, allocations: 0 / 176.6 MB, free: 8.902 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.437e-05, allocations: 5.703 kB / 176.6 MB, free: 8.898 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.154/1.154, allocations: 262.5 MB / 439.2 MB, free: 15.44 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01281/1.167, allocations: 11.87 MB / 451.1 MB, free: 3.531 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.186e-05/1.167, allocations: 4 kB / 451.1 MB, free: 3.527 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.824e-05/1.167, allocations: 31.67 kB / 451.1 MB, free: 3.496 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001434/1.167, allocations: 71.3 kB / 451.2 MB, free: 3.426 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006053/1.173, allocations: 3.451 MB / 454.6 MB, free: 15.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/1.173, allocations: 275.2 kB / 454.9 MB, free: 15.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/1.173, allocations: 130.8 kB / 455 MB, free: 15.56 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/1.174, allocations: 155.7 kB / 455.2 MB, free: 15.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/1.174, allocations: 91.7 kB / 455.2 MB, free: 15.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/1.174, allocations: 24 kB / 455.3 MB, free: 15.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00855/1.182, allocations: 7.287 MB / 462.6 MB, free: 8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.175e-05/1.182, allocations: 51.77 kB / 462.6 MB, free: 7.949 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.212e-05/1.182, allocations: 95.73 kB / 462.7 MB, free: 7.855 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004003/1.186, allocations: 4.401 MB / 467.1 MB, free: 3.445 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/1.186, allocations: 0 / 467.1 MB, free: 3.445 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/1.186, allocations: 0 / 467.1 MB, free: 3.445 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/1.186, allocations: 0 / 467.1 MB, free: 3.445 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.001182/1.188, allocations: 0.7234 MB / 467.8 MB, free: 2.691 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/1.188, allocations: 15.97 kB / 467.8 MB, free: 2.676 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.936e-05/1.188, allocations: 40.91 kB / 467.9 MB, free: 2.637 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/1.188, allocations: 157.4 kB / 468 MB, free: 2.457 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/1.188, allocations: 20.88 kB / 468.1 MB, free: 2.434 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/1.188, allocations: 24.38 kB / 468.1 MB, free: 2.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/1.188, allocations: 277.9 kB / 468.3 MB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.188, allocations: 192 / 468.3 MB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/1.188, allocations: 8.375 kB / 468.4 MB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/1.188, allocations: 7.938 kB / 468.4 MB, free: 2.086 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004003/1.189, allocations: 105 kB / 468.5 MB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003183/1.192, allocations: 2.057 MB / 470.5 MB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/1.192, allocations: 112.2 kB / 470.6 MB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.513e-05/1.192, allocations: 54.55 kB / 470.7 MB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002309/1.194, allocations: 1.17 MB / 471.9 MB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/1.195, allocations: 158.5 kB / 472 MB, free: 14.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/1.195, allocations: 0 / 472 MB, free: 14.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002214/1.195, allocations: 190.7 kB / 472.2 MB, free: 14.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/1.195, allocations: 106.8 kB / 472.3 MB, free: 14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/1.195, allocations: 186.5 kB / 472.5 MB, free: 13.81 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/1.195, allocations: 33.7 kB / 472.5 MB, free: 13.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/1.195, allocations: 156.2 kB / 472.7 MB, free: 13.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/1.195, allocations: 59.5 kB / 472.7 MB, free: 13.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.724e-05/1.195, allocations: 57.61 kB / 472.8 MB, free: 13.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.181e-05/1.195, allocations: 330.8 kB / 473.1 MB, free: 13.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.781e-05/1.195, allocations: 49.92 kB / 473.2 MB, free: 13.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-05/1.195, allocations: 116.9 kB / 473.3 MB, free: 12.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/1.195, allocations: 231.1 kB / 473.5 MB, free: 12.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.195, allocations: 3.938 kB / 473.5 MB, free: 12.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001924/1.196, allocations: 196.8 kB / 473.7 MB, free: 12.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/1.196, allocations: 36.98 kB / 473.7 MB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.196, allocations: 7.938 kB / 473.7 MB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/1.196, allocations: 4 kB / 473.7 MB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008275/1.197, allocations: 216 kB / 474 MB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002445/1.197, allocations: 0.5859 MB / 474.5 MB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.381e-05/1.197, allocations: 19.89 kB / 474.6 MB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/1.197, allocations: 11.98 kB / 474.6 MB, free: 11.57 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.0001352/1.197, allocations: 171.6 kB / 474.7 MB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/1.197, allocations: 19.92 kB / 474.8 MB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/1.197, allocations: 170.8 kB / 474.9 MB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/1.197, allocations: 4 kB / 474.9 MB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.197, allocations: 0 / 474.9 MB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.197, allocations: 0 / 474.9 MB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/1.197, allocations: 133.8 kB / 475.1 MB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.197, allocations: 4 kB / 475.1 MB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007215/1.198, allocations: 191.8 kB / 475.2 MB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/1.198, allocations: 0 / 475.2 MB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/1.198, allocations: 15.98 kB / 475.3 MB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004282/1.199, allocations: 0.5859 MB / 475.8 MB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.199, allocations: 0 / 475.8 MB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/1.199, allocations: 192.2 kB / 476 MB, free: 9.996 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.67e-05/1.199, allocations: 23.84 kB / 476.1 MB, free: 9.973 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/1.199, allocations: 0 / 476.1 MB, free: 9.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.258e-05/1.199, allocations: 15.98 kB / 476.1 MB, free: 9.957 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/1.199, allocations: 7.984 kB / 476.1 MB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/1.199, allocations: 11.98 kB / 476.1 MB, free: 9.938 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.627e-05/1.199, allocations: 57.62 kB / 476.2 MB, free: 9.879 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/1.199, allocations: 0 / 476.2 MB, free: 9.879 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006893/1.2, allocations: 411.3 kB / 476.6 MB, free: 9.477 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.001167/1.201, allocations: 0.5891 MB / 477.1 MB, free: 8.875 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004173/1.205, allocations: 0.8854 MB / 478 MB, free: 7.961 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.205, allocations: 4 kB / 478 MB, free: 7.957 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003121/1.208, allocations: 0.6735 MB / 478.7 MB, free: 7.262 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001112/1.208, allocations: 27.92 kB / 478.7 MB, free: 7.234 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007544/1.209, allocations: 459.9 kB / 479.2 MB, free: 6.754 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.677e-05/1.209, allocations: 79.97 kB / 479.3 MB, free: 6.656 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.146e-05/1.209, allocations: 21.42 kB / 479.3 MB, free: 6.633 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.297e-05/1.209, allocations: 87.34 kB / 479.4 MB, free: 6.547 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/1.209, allocations: 0 / 479.4 MB, free: 6.547 MB / 426.7 MB Notification: Performance of Templates: time 0.1677/1.377, allocations: 14.06 MB / 493.4 MB, free: 27.73 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.858968434855342]