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.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8307/0.8307, allocations: 150.9 MB / 167.1 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003495, allocations: 11.98 kB / 205.9 MB, free: 9.043 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1319, allocations: 31.33 MB / 237.3 MB, free: 5.738 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution): time 1.701/1.833, allocations: 294.2 MB / 0.519 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01507/1.848, allocations: 12.03 MB / 0.5308 GB, free: 1.668 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/1.848, allocations: 4 kB / 0.5308 GB, free: 1.664 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSolution/PressureLosses/SingularPressureLoss.mo:15:3-17:16: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 4.0.0-master/WaterSolution/PressureLosses/SingularPressureLoss.mo:18:3-19:83: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 4.0.0-master/WaterSolution/Machines/StaticCentrifugalPump.mo:46:3-48:16: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 4.0.0-master/WaterSolution/Machines/StaticCentrifugalPump.mo:49:3-50:83: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 4.0.0-master/WaterSolution/BoundaryConditions/SourcePQ.mo:9:3-10:83: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 4.0.0-master/WaterSolution/BoundaryConditions/Sink.mo:10:3-12:16: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.0001243/1.849, allocations: 32.5 kB / 0.5308 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/1.849, allocations: 60.58 kB / 0.5309 GB, free: 1.574 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007895/1.857, allocations: 3.419 MB / 0.5342 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003913/1.857, allocations: 267.3 kB / 0.5344 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002461/1.857, allocations: 151.7 kB / 0.5346 GB, free: 13.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/1.857, allocations: 103.6 kB / 0.5347 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/1.858, allocations: 121.2 kB / 0.5348 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/1.858, allocations: 24 kB / 0.5348 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01176/1.869, allocations: 7.656 MB / 0.5423 GB, free: 5.875 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.53e-05/1.87, allocations: 51.78 kB / 0.5424 GB, free: 5.824 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/1.87, allocations: 135.3 kB / 0.5425 GB, free: 5.691 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005883/1.876, allocations: 3.392 MB / 0.5458 GB, free: 2.293 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.876, allocations: 0 / 0.5458 GB, free: 2.293 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/1.876, allocations: 0.5938 kB / 0.5458 GB, free: 2.293 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/1.876, allocations: 3.938 kB / 0.5458 GB, free: 2.289 MB / 430.1 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.001751/1.877, allocations: 0.8166 MB / 0.5466 GB, free: 1.418 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/1.877, allocations: 8.031 kB / 0.5466 GB, free: 1.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.872e-05/1.878, allocations: 28.66 kB / 0.5466 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/1.878, allocations: 239 kB / 0.5469 GB, free: 1.113 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/1.878, allocations: 20.94 kB / 0.5469 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/1.878, allocations: 20.38 kB / 0.5469 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005124/1.878, allocations: 293.7 kB / 0.5472 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.878, allocations: 0 / 0.5472 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/1.878, allocations: 8 kB / 0.5472 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/1.878, allocations: 9.344 kB / 0.5472 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004296/1.879, allocations: 182.2 kB / 0.5474 GB, free: 0.5703 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006182/1.885, allocations: 3.05 MB / 0.5504 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005167/1.886, allocations: 184.4 kB / 0.5505 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/1.886, allocations: 72.86 kB / 0.5506 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004591/1.89, allocations: 1.71 MB / 0.5523 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003487/1.891, allocations: 151.4 kB / 0.5524 GB, free: 11.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 2.295e-06/1.891, allocations: 4 kB / 0.5524 GB, free: 11.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006719/1.891, allocations: 262.9 kB / 0.5527 GB, free: 10.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/1.892, allocations: 106.8 kB / 0.5528 GB, free: 10.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/1.892, allocations: 266.5 kB / 0.553 GB, free: 10.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/1.892, allocations: 25.7 kB / 0.553 GB, free: 10.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/1.892, allocations: 164.2 kB / 0.5532 GB, free: 10.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/1.892, allocations: 59.19 kB / 0.5533 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.351e-05/1.892, allocations: 49.7 kB / 0.5533 GB, free: 10.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/1.892, allocations: 338.8 kB / 0.5536 GB, free: 9.793 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/1.892, allocations: 64.19 kB / 0.5537 GB, free: 9.727 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/1.893, allocations: 123.2 kB / 0.5538 GB, free: 9.582 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002622/1.895, allocations: 0.6285 MB / 0.5544 GB, free: 8.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.895, allocations: 4 kB / 0.5544 GB, free: 8.906 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005218/1.896, allocations: 266.9 kB / 0.5547 GB, free: 8.633 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/1.896, allocations: 41.69 kB / 0.5547 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.896, allocations: 4 kB / 0.5547 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/1.896, allocations: 4.219 kB / 0.5547 GB, free: 8.578 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/1.897, allocations: 215.7 kB / 0.5549 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003102/1.898, allocations: 0.5937 MB / 0.5555 GB, free: 7.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/1.898, allocations: 35.7 kB / 0.5555 GB, free: 7.715 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/1.898, allocations: 15.94 kB / 0.5556 GB, free: 7.699 MB / 446.1 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.yL.signal,Pulse1.T0,$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.0001923/1.898, allocations: 179.2 kB / 0.5557 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/1.898, allocations: 27.81 kB / 0.5558 GB, free: 7.484 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005288/1.899, allocations: 241.4 kB / 0.556 GB, free: 7.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/1.899, allocations: 0 / 0.556 GB, free: 7.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.899, allocations: 3.938 kB / 0.556 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/1.899, allocations: 0 / 0.556 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/1.899, allocations: 292.1 kB / 0.5563 GB, free: 6.895 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/1.899, allocations: 0 / 0.5563 GB, free: 6.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/1.9, allocations: 199.7 kB / 0.5565 GB, free: 6.699 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/1.9, allocations: 4 kB / 0.5565 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/1.9, allocations: 4 kB / 0.5565 GB, free: 6.691 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002713/1.901, allocations: 0.5898 MB / 0.557 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.901, allocations: 0 / 0.557 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004704/1.901, allocations: 259.5 kB / 0.5573 GB, free: 5.801 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/1.901, allocations: 116.8 kB / 0.5574 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/1.901, allocations: 4 kB / 0.5574 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/1.902, allocations: 15.98 kB / 0.5574 GB, free: 5.648 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/1.902, allocations: 15.98 kB / 0.5574 GB, free: 5.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/1.902, allocations: 4 kB / 0.5574 GB, free: 5.629 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001714/1.902, allocations: 190 kB / 0.5576 GB, free: 5.445 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.563e-06/1.902, allocations: 0 / 0.5576 GB, free: 5.445 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001071/1.903, allocations: 399.6 kB / 0.558 GB, free: 5.055 MB / 446.1 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.T0,Pulse1.yL.signal,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.001441/1.904, allocations: 0.5004 MB / 0.5585 GB, free: 4.547 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01151/1.916, allocations: 0.8913 MB / 0.5594 GB, free: 3.648 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/1.916, allocations: 0 / 0.5594 GB, free: 3.648 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009918/1.926, allocations: 0.6628 MB / 0.56 GB, free: 2.973 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/1.926, allocations: 42.48 kB / 0.5601 GB, free: 2.934 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009831/1.927, allocations: 461.8 kB / 0.5605 GB, free: 2.457 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/1.927, allocations: 0.744 MB / 0.5612 GB, free: 1.688 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/1.928, allocations: 21.95 kB / 0.5612 GB, free: 1.664 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.825e-05/1.928, allocations: 23.42 kB / 0.5613 GB, free: 1.641 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/1.928, allocations: 0 / 0.5613 GB, free: 1.641 MB / 446.1 MB Notification: Performance of Templates: time 0.01818/1.946, allocations: 13 MB / 0.574 GB, free: 4.703 MB / 462.1 MB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.makefile (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=480 -s cvode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe 2>&1)