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.8224/0.8224, allocations: 111.6 MB / 131 MB, free: 5.094 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.134e-06/2.134e-06, allocations: 0 / 175.7 MB, free: 9.457 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.787e-05, allocations: 6.25 kB / 175.7 MB, free: 9.449 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.752/1.753, allocations: 254.4 MB / 430.1 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01998/1.772, allocations: 11.81 MB / 442 MB, free: 5.07 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/1.773, allocations: 4 kB / 442 MB, free: 5.066 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 0.0001618/1.773, allocations: 31.66 kB / 442 MB, free: 5.035 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002566/1.773, allocations: 67.3 kB / 442.1 MB, free: 4.969 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009739/1.783, allocations: 3.447 MB / 445.5 MB, free: 1.508 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005325/1.783, allocations: 271.2 kB / 445.8 MB, free: 1.242 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003109/1.784, allocations: 124.1 kB / 445.9 MB, free: 1.117 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003161/1.784, allocations: 163.7 kB / 446 MB, free: 0.957 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/1.784, allocations: 83.77 kB / 446.1 MB, free: 0.875 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.043e-05/1.784, allocations: 24 kB / 446.1 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01522/1.799, allocations: 7.295 MB / 453.4 MB, free: 9.547 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/1.8, allocations: 51.83 kB / 453.5 MB, free: 9.496 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001922/1.8, allocations: 83.77 kB / 453.6 MB, free: 9.414 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009174/1.809, allocations: 4.487 MB / 458.1 MB, free: 4.918 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/1.809, allocations: 7.938 kB / 458.1 MB, free: 4.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.323e-06/1.809, allocations: 0 / 458.1 MB, free: 4.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/1.809, allocations: 0 / 458.1 MB, free: 4.91 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.00237/1.811, allocations: 0.8637 MB / 458.9 MB, free: 4.004 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/1.811, allocations: 11.98 kB / 458.9 MB, free: 3.992 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/1.812, allocations: 52.75 kB / 459 MB, free: 3.941 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/1.812, allocations: 180.2 kB / 459.2 MB, free: 3.738 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/1.812, allocations: 20.88 kB / 459.2 MB, free: 3.719 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/1.812, allocations: 24.38 kB / 459.2 MB, free: 3.695 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006686/1.813, allocations: 341.1 kB / 459.6 MB, free: 3.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/1.813, allocations: 4.188 kB / 459.6 MB, free: 3.316 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/1.813, allocations: 16.36 kB / 459.6 MB, free: 3.301 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/1.813, allocations: 11.88 kB / 459.6 MB, free: 3.289 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005146/1.813, allocations: 203.5 kB / 459.8 MB, free: 3.082 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007306/1.82, allocations: 2.716 MB / 462.5 MB, free: 304 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005845/1.821, allocations: 209 kB / 462.7 MB, free: 76 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/1.821, allocations: 97.41 kB / 462.8 MB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005215/1.826, allocations: 1.318 MB / 464.1 MB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003505/1.827, allocations: 184.3 kB / 464.3 MB, free: 14.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 2.024e-06/1.827, allocations: 4 kB / 464.3 MB, free: 14.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007999/1.828, allocations: 310.6 kB / 464.6 MB, free: 14.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.444e-05/1.828, allocations: 118.7 kB / 464.7 MB, free: 13.97 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/1.828, allocations: 281.6 kB / 465 MB, free: 13.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/1.828, allocations: 33.7 kB / 465 MB, free: 13.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/1.828, allocations: 226.9 kB / 465.2 MB, free: 13.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.778e-05/1.828, allocations: 55.53 kB / 465.3 MB, free: 13.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/1.828, allocations: 63.36 kB / 465.4 MB, free: 13.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002857/1.829, allocations: 0.5118 MB / 465.9 MB, free: 12.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/1.829, allocations: 85.91 kB / 466 MB, free: 12.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/1.829, allocations: 171.6 kB / 466.1 MB, free: 12.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006521/1.83, allocations: 358.2 kB / 466.5 MB, free: 12.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.83, allocations: 0 / 466.5 MB, free: 12.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006311/1.83, allocations: 304.3 kB / 466.8 MB, free: 11.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.088e-05/1.831, allocations: 45.62 kB / 466.8 MB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/1.831, allocations: 4.219 kB / 466.8 MB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/1.831, allocations: 4 kB / 466.8 MB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/1.832, allocations: 215.7 kB / 467 MB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000619/1.833, allocations: 0.905 MB / 467.9 MB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/1.833, allocations: 23.88 kB / 468 MB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/1.833, allocations: 12 kB / 468 MB, free: 10.51 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.0002876/1.833, allocations: 226.1 kB / 468.2 MB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/1.833, allocations: 27.86 kB / 468.2 MB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006124/1.834, allocations: 270.6 kB / 468.5 MB, free: 9.965 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/1.834, allocations: 4 kB / 468.5 MB, free: 9.961 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/1.834, allocations: 0 / 468.5 MB, free: 9.961 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/1.834, allocations: 4 kB / 468.5 MB, free: 9.957 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/1.834, allocations: 236.5 kB / 468.7 MB, free: 9.691 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/1.834, allocations: 0 / 468.7 MB, free: 9.691 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/1.836, allocations: 211.7 kB / 468.9 MB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/1.836, allocations: 0 / 468.9 MB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/1.836, allocations: 4 kB / 468.9 MB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005798/1.837, allocations: 0.9049 MB / 469.8 MB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.837, allocations: 0 / 469.8 MB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005916/1.837, allocations: 303.5 kB / 470.1 MB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.552e-05/1.837, allocations: 31.88 kB / 470.2 MB, free: 8.184 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/1.837, allocations: 0 / 470.2 MB, free: 8.184 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/1.838, allocations: 12 kB / 470.2 MB, free: 8.172 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/1.838, allocations: 23.84 kB / 470.2 MB, free: 8.148 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/1.838, allocations: 7.984 kB / 470.2 MB, free: 8.141 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001731/1.838, allocations: 188.2 kB / 470.4 MB, free: 7.957 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/1.838, allocations: 0 / 470.4 MB, free: 7.957 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001194/1.839, allocations: 415.2 kB / 470.8 MB, free: 7.551 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.001873/1.841, allocations: 0.5681 MB / 471.4 MB, free: 6.977 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01265/1.854, allocations: 0.9626 MB / 472.3 MB, free: 5.984 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/1.854, allocations: 0 / 472.3 MB, free: 5.984 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01123/1.865, allocations: 0.6916 MB / 473 MB, free: 5.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/1.865, allocations: 31.98 kB / 473.1 MB, free: 5.238 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/1.867, allocations: 486.3 kB / 473.5 MB, free: 4.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/1.867, allocations: 141.7 kB / 473.7 MB, free: 4.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001396/1.867, allocations: 17.48 kB / 473.7 MB, free: 4.555 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.874e-05/1.867, allocations: 20.5 kB / 473.7 MB, free: 4.535 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/1.867, allocations: 0 / 473.7 MB, free: 4.535 MB / 426.7 MB Notification: Performance of Templates: time 0.02968/1.897, allocations: 13.12 MB / 486.8 MB, free: 7.422 MB / 442.7 MB " [Timeout remaining time 658] 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: 6.083922983030789]