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.4981/0.4981, allocations: 111.6 MB / 131.7 MB, free: 5.07 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.703e-06/1.703e-06, allocations: 0 / 176.5 MB, free: 9.418 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172e-05/1.343e-05, allocations: 5.047 kB / 176.5 MB, free: 9.414 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 0.9953/0.9954, allocations: 256.7 MB / 433.2 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009966/1.005, allocations: 11.85 MB / 445 MB, free: 4.863 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.49e-05/1.005, allocations: 0 / 445 MB, free: 4.863 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 7.922e-05/1.005, allocations: 31.66 kB / 445.1 MB, free: 4.832 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001159/1.006, allocations: 75.3 kB / 445.1 MB, free: 4.758 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004195/1.01, allocations: 3.451 MB / 448.6 MB, free: 1.297 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002287/1.01, allocations: 263.3 kB / 448.8 MB, free: 1.039 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/1.01, allocations: 132.1 kB / 449 MB, free: 0.9062 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/1.01, allocations: 151.7 kB / 449.1 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/1.01, allocations: 91.69 kB / 449.2 MB, free: 0.668 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/1.01, allocations: 28 kB / 449.2 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006615/1.017, allocations: 7.295 MB / 456.5 MB, free: 9.336 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.191e-05/1.017, allocations: 51.77 kB / 456.6 MB, free: 9.285 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.47e-05/1.017, allocations: 91.81 kB / 456.7 MB, free: 9.195 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003281/1.02, allocations: 4.397 MB / 461.1 MB, free: 4.789 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.02, allocations: 4 kB / 461.1 MB, free: 4.785 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.203e-06/1.02, allocations: 0 / 461.1 MB, free: 4.785 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/1.02, allocations: 0 / 461.1 MB, free: 4.785 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.001155/1.022, allocations: 0.8519 MB / 461.9 MB, free: 3.891 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/1.022, allocations: 11.98 kB / 461.9 MB, free: 3.879 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.464e-05/1.022, allocations: 52.8 kB / 462 MB, free: 3.828 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/1.022, allocations: 176.2 kB / 462.2 MB, free: 3.629 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/1.022, allocations: 20.88 kB / 462.2 MB, free: 3.605 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/1.022, allocations: 24.38 kB / 462.2 MB, free: 3.582 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/1.022, allocations: 297.8 kB / 462.5 MB, free: 3.246 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/1.022, allocations: 192 / 462.5 MB, free: 3.246 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/1.022, allocations: 12.38 kB / 462.5 MB, free: 3.234 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/1.022, allocations: 7.938 kB / 462.5 MB, free: 3.227 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/1.022, allocations: 132.5 kB / 462.6 MB, free: 3.094 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003168/1.026, allocations: 2.646 MB / 465.3 MB, free: 384 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/1.026, allocations: 133 kB / 465.4 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.106e-05/1.026, allocations: 73.38 kB / 465.5 MB, free: 148 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002213/1.028, allocations: 1.314 MB / 466.8 MB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/1.028, allocations: 144.4 kB / 467 MB, free: 14.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 1.352e-06/1.028, allocations: 4 kB / 467 MB, free: 14.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003071/1.029, allocations: 250.5 kB / 467.2 MB, free: 14.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/1.029, allocations: 114.7 kB / 467.3 MB, free: 14.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/1.029, allocations: 249.5 kB / 467.6 MB, free: 13.99 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/1.029, allocations: 33.7 kB / 467.6 MB, free: 13.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/1.029, allocations: 218.9 kB / 467.8 MB, free: 13.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/1.029, allocations: 51.59 kB / 467.9 MB, free: 13.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/1.029, allocations: 59.3 kB / 467.9 MB, free: 13.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/1.029, allocations: 0.5001 MB / 468.4 MB, free: 13.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.462e-05/1.029, allocations: 53.92 kB / 468.5 MB, free: 13.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.549e-05/1.029, allocations: 139.6 kB / 468.6 MB, free: 12.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/1.03, allocations: 273.9 kB / 468.9 MB, free: 12.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.03, allocations: 3.984 kB / 468.9 MB, free: 12.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002327/1.03, allocations: 244.8 kB / 469.1 MB, free: 12.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/1.03, allocations: 37.62 kB / 469.1 MB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.03, allocations: 4 kB / 469.2 MB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/1.03, allocations: 4 kB / 469.2 MB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007978/1.031, allocations: 219.9 kB / 469.4 MB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002855/1.031, allocations: 0.9011 MB / 470.3 MB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.174e-05/1.031, allocations: 27.81 kB / 470.3 MB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/1.031, allocations: 12 kB / 470.3 MB, free: 11.05 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,$PRE.pulse.T0,$PRE.Pulse1.T0,pulse.T0,Pulse1.T0,Pulse1.yL.signal,$whenCondition2,sinkSolution.Ce.a,sourceSolution.Cs.b,staticCentrifugalPumpWaterLiBr.C2.b,staticCentrifugalPumpWaterLiBr.C1.a,singularPressureLossWaterLiBr.C2.b,singularPressureLossWaterLiBr.C1.a) * 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.0001387/1.031, allocations: 214.1 kB / 470.5 MB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/1.031, allocations: 27.86 kB / 470.5 MB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/1.031, allocations: 214.4 kB / 470.8 MB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/1.031, allocations: 7.984 kB / 470.8 MB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/1.031, allocations: 0 / 470.8 MB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.031, allocations: 0 / 470.8 MB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/1.032, allocations: 204.4 kB / 471 MB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.032, allocations: 4 kB / 471 MB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006907/1.032, allocations: 207.8 kB / 471.2 MB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/1.032, allocations: 0 / 471.2 MB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/1.032, allocations: 0 / 471.2 MB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002277/1.032, allocations: 0.9049 MB / 472.1 MB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/1.032, allocations: 0 / 472.1 MB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/1.033, allocations: 239.7 kB / 472.3 MB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/1.033, allocations: 31.83 kB / 472.3 MB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/1.033, allocations: 3.984 kB / 472.3 MB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.775e-05/1.033, allocations: 8 kB / 472.4 MB, free: 8.879 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/1.033, allocations: 23.91 kB / 472.4 MB, free: 8.855 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/1.033, allocations: 8 kB / 472.4 MB, free: 8.848 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.331e-05/1.033, allocations: 176.1 kB / 472.6 MB, free: 8.676 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/1.033, allocations: 0 / 472.6 MB, free: 8.676 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000544/1.033, allocations: 407.3 kB / 473 MB, free: 8.277 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.001021/1.035, allocations: 0.5687 MB / 473.5 MB, free: 7.699 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004652/1.039, allocations: 0.9067 MB / 474.4 MB, free: 6.766 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/1.039, allocations: 0 / 474.4 MB, free: 6.766 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004024/1.043, allocations: 0.6682 MB / 475.1 MB, free: 6.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/1.043, allocations: 31.92 kB / 475.1 MB, free: 6.039 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009258/1.044, allocations: 480.8 kB / 475.6 MB, free: 5.535 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.894e-05/1.044, allocations: 79.97 kB / 475.7 MB, free: 5.438 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.629e-05/1.044, allocations: 17.47 kB / 475.7 MB, free: 5.418 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/1.044, allocations: 24.5 kB / 475.7 MB, free: 5.395 MB / 426.7 MB Notification: Performance of SimCode: time 6.61e-07/1.044, allocations: 0 / 475.7 MB, free: 5.395 MB / 426.7 MB Notification: Performance of Templates: time 0.1216/1.166, allocations: 13.11 MB / 488.8 MB, free: 92.48 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.4069701968692243]