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.8887/0.8887, allocations: 150.9 MB / 166.5 MB, free: 14.38 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003237, allocations: 16.58 kB / 237.1 MB, free: 1.793 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05067/0.05101, allocations: 31.35 MB / 268.5 MB, free: 7.02 MB / 222.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.617/1.668, allocations: 294.4 MB / 0.5496 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01448/1.683, allocations: 12.04 MB / 0.5614 GB, free: 1.484 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/1.683, allocations: 4 kB / 0.5614 GB, free: 1.48 MB / 446.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.0001384/1.683, allocations: 41.77 kB / 0.5614 GB, free: 1.441 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/1.683, allocations: 63.34 kB / 0.5615 GB, free: 1.379 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007473/1.691, allocations: 3.416 MB / 0.5648 GB, free: 13.97 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003712/1.691, allocations: 267.3 kB / 0.5651 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002421/1.691, allocations: 155.6 kB / 0.5652 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/1.691, allocations: 99.64 kB / 0.5653 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/1.691, allocations: 123.5 kB / 0.5655 GB, free: 13.33 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/1.692, allocations: 24 kB / 0.5655 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0114/1.703, allocations: 7.654 MB / 0.5729 GB, free: 5.641 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.649e-05/1.703, allocations: 59.77 kB / 0.573 GB, free: 5.582 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/1.703, allocations: 123.3 kB / 0.5731 GB, free: 5.461 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004128/1.707, allocations: 3.403 MB / 0.5764 GB, free: 2.051 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/1.707, allocations: 0 / 0.5764 GB, free: 2.051 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.373e-06/1.707, allocations: 0 / 0.5764 GB, free: 2.051 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/1.707, allocations: 0 / 0.5764 GB, free: 2.051 MB / 462.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.001719/1.709, allocations: 0.815 MB / 0.5772 GB, free: 1.184 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/1.709, allocations: 11.89 kB / 0.5773 GB, free: 1.172 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.952e-05/1.709, allocations: 32.56 kB / 0.5773 GB, free: 1.141 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/1.709, allocations: 235.8 kB / 0.5775 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/1.709, allocations: 16.94 kB / 0.5775 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/1.71, allocations: 24.38 kB / 0.5775 GB, free: 0.832 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005181/1.71, allocations: 296 kB / 0.5778 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/1.71, allocations: 0 / 0.5778 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/1.71, allocations: 12 kB / 0.5778 GB, free: 0.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/1.71, allocations: 4 kB / 0.5778 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004666/1.711, allocations: 193.5 kB / 0.578 GB, free: 316 kB / 462.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.006575/1.717, allocations: 3.027 MB / 0.581 GB, free: 13.06 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005483/1.718, allocations: 174.8 kB / 0.5812 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/1.718, allocations: 72.83 kB / 0.5812 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005207/1.723, allocations: 1.717 MB / 0.5829 GB, free: 10.97 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003007/1.723, allocations: 146.7 kB / 0.583 GB, free: 10.81 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.874e-06/1.723, allocations: 0 / 0.583 GB, free: 10.81 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006964/1.724, allocations: 270.9 kB / 0.5833 GB, free: 10.54 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/1.724, allocations: 106.8 kB / 0.5834 GB, free: 10.41 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/1.725, allocations: 266.5 kB / 0.5837 GB, free: 10.14 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/1.725, allocations: 33.7 kB / 0.5837 GB, free: 10.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.837e-05/1.725, allocations: 160.1 kB / 0.5838 GB, free: 9.938 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/1.725, allocations: 55.28 kB / 0.5839 GB, free: 9.883 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.178e-05/1.725, allocations: 57.55 kB / 0.5839 GB, free: 9.82 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/1.725, allocations: 334.8 kB / 0.5843 GB, free: 9.484 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/1.725, allocations: 72.12 kB / 0.5843 GB, free: 9.41 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/1.725, allocations: 115.3 kB / 0.5844 GB, free: 9.273 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002799/1.728, allocations: 0.6245 MB / 0.5851 GB, free: 8.602 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/1.728, allocations: 0 / 0.5851 GB, free: 8.602 MB / 478.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000631/1.729, allocations: 278.9 kB / 0.5853 GB, free: 8.316 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.893e-05/1.729, allocations: 33.7 kB / 0.5854 GB, free: 8.277 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/1.729, allocations: 7.922 kB / 0.5854 GB, free: 8.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/1.729, allocations: 4 kB / 0.5854 GB, free: 8.266 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/1.73, allocations: 207.9 kB / 0.5856 GB, free: 8.062 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003117/1.731, allocations: 0.5898 MB / 0.5861 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/1.731, allocations: 39.7 kB / 0.5862 GB, free: 7.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/1.731, allocations: 11.98 kB / 0.5862 GB, free: 7.398 MB / 478.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.0002124/1.731, allocations: 187.8 kB / 0.5864 GB, free: 7.203 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/1.731, allocations: 27.7 kB / 0.5864 GB, free: 7.176 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005238/1.732, allocations: 237.4 kB / 0.5866 GB, free: 6.93 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/1.732, allocations: 4 kB / 0.5866 GB, free: 6.926 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.732, allocations: 7.938 kB / 0.5866 GB, free: 6.918 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/1.732, allocations: 0 / 0.5866 GB, free: 6.918 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/1.732, allocations: 289.4 kB / 0.5869 GB, free: 6.586 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.732, allocations: 3.938 kB / 0.5869 GB, free: 6.582 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/1.734, allocations: 199.8 kB / 0.5871 GB, free: 6.387 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.734, allocations: 0 / 0.5871 GB, free: 6.387 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/1.734, allocations: 8 kB / 0.5871 GB, free: 6.379 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003181/1.734, allocations: 0.586 MB / 0.5877 GB, free: 5.77 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.734, allocations: 0 / 0.5877 GB, free: 5.77 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005118/1.735, allocations: 260.5 kB / 0.5879 GB, free: 5.492 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/1.735, allocations: 120.7 kB / 0.588 GB, free: 5.355 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/1.735, allocations: 4 kB / 0.588 GB, free: 5.352 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/1.735, allocations: 15.98 kB / 0.5881 GB, free: 5.336 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/1.735, allocations: 11.98 kB / 0.5881 GB, free: 5.324 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/1.735, allocations: 11.98 kB / 0.5881 GB, free: 5.312 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001642/1.735, allocations: 182 kB / 0.5883 GB, free: 5.137 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.735, allocations: 3.938 kB / 0.5883 GB, free: 5.133 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00105/1.736, allocations: 399.8 kB / 0.5886 GB, free: 4.742 MB / 478.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.001471/1.738, allocations: 0.5014 MB / 0.5891 GB, free: 4.234 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01136/1.749, allocations: 0.8895 MB / 0.59 GB, free: 3.332 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.749, allocations: 0 / 0.59 GB, free: 3.332 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009625/1.759, allocations: 0.6588 MB / 0.5906 GB, free: 2.66 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/1.759, allocations: 46.89 kB / 0.5907 GB, free: 2.621 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/1.76, allocations: 450.9 kB / 0.5911 GB, free: 2.156 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/1.76, allocations: 0.7517 MB / 0.5919 GB, free: 1.379 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 9.748e-05/1.761, allocations: 21.95 kB / 0.5919 GB, free: 1.359 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.744e-05/1.761, allocations: 31.42 kB / 0.5919 GB, free: 1.328 MB / 478.1 MB Notification: Performance of SimCode: time 5.82e-07/1.761, allocations: 0 / 0.5919 GB, free: 1.328 MB / 478.1 MB Notification: Performance of Templates: time 0.01813/1.779, allocations: 13.03 MB / 0.6046 GB, free: 4.309 MB / 494.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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe 2>&1)