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.8324/0.8324, allocations: 150.9 MB / 166.5 MB, free: 14.4 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003064, allocations: 15.75 kB / 237.1 MB, free: 1.801 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05599/0.05631, allocations: 31.34 MB / 268.5 MB, free: 7.031 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.615/1.672, allocations: 294.5 MB / 0.5497 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01496/1.687, allocations: 12.03 MB / 0.5615 GB, free: 1.309 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/1.687, allocations: 4 kB / 0.5615 GB, free: 1.305 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.0001359/1.687, allocations: 31.66 kB / 0.5615 GB, free: 1.273 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002057/1.687, allocations: 63.36 kB / 0.5616 GB, free: 1.211 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007953/1.695, allocations: 3.425 MB / 0.5649 GB, free: 13.79 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003887/1.696, allocations: 267.3 kB / 0.5652 GB, free: 13.53 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/1.696, allocations: 151.6 kB / 0.5653 GB, free: 13.38 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/1.696, allocations: 103.6 kB / 0.5654 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/1.696, allocations: 119.5 kB / 0.5655 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/1.696, allocations: 28 kB / 0.5656 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01295/1.709, allocations: 7.654 MB / 0.573 GB, free: 5.465 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.851e-05/1.709, allocations: 55.77 kB / 0.5731 GB, free: 5.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001735/1.71, allocations: 135.3 kB / 0.5732 GB, free: 5.277 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005763/1.715, allocations: 3.395 MB / 0.5765 GB, free: 1.875 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.715, allocations: 4 kB / 0.5765 GB, free: 1.871 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.697e-06/1.715, allocations: 0 / 0.5765 GB, free: 1.871 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.994e-05/1.715, allocations: 3.938 kB / 0.5766 GB, free: 1.867 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.002571/1.718, allocations: 0.8294 MB / 0.5774 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/1.718, allocations: 11.89 kB / 0.5774 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/1.718, allocations: 32.75 kB / 0.5774 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/1.719, allocations: 236 kB / 0.5776 GB, free: 0.668 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.29e-05/1.719, allocations: 20.94 kB / 0.5777 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.914e-05/1.719, allocations: 24.38 kB / 0.5777 GB, free: 0.625 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006981/1.719, allocations: 288 kB / 0.5779 GB, free: 324 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/1.719, allocations: 7.938 kB / 0.578 GB, free: 316 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.405e-05/1.72, allocations: 12 kB / 0.578 GB, free: 304 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/1.72, allocations: 11.94 kB / 0.578 GB, free: 292 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005216/1.72, allocations: 177.6 kB / 0.5781 GB, free: 116 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.006683/1.727, allocations: 3.039 MB / 0.5811 GB, free: 12.85 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005368/1.727, allocations: 182.7 kB / 0.5813 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/1.728, allocations: 80.86 kB / 0.5814 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004694/1.732, allocations: 1.706 MB / 0.583 GB, free: 10.76 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002867/1.733, allocations: 146.1 kB / 0.5832 GB, free: 10.6 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 2.224e-06/1.733, allocations: 0 / 0.5832 GB, free: 10.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006845/1.733, allocations: 280.5 kB / 0.5834 GB, free: 10.32 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/1.733, allocations: 114.8 kB / 0.5835 GB, free: 10.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/1.734, allocations: 266.5 kB / 0.5838 GB, free: 9.91 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/1.734, allocations: 25.7 kB / 0.5838 GB, free: 9.879 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/1.734, allocations: 160.4 kB / 0.584 GB, free: 9.719 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.86e-05/1.734, allocations: 63.5 kB / 0.584 GB, free: 9.656 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-05/1.734, allocations: 49.7 kB / 0.5841 GB, free: 9.602 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/1.734, allocations: 338.8 kB / 0.5844 GB, free: 9.262 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/1.734, allocations: 64.19 kB / 0.5845 GB, free: 9.195 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/1.734, allocations: 119.3 kB / 0.5846 GB, free: 9.055 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002668/1.737, allocations: 0.6245 MB / 0.5852 GB, free: 8.383 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/1.737, allocations: 8 kB / 0.5852 GB, free: 8.375 MB / 478.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005581/1.738, allocations: 274.3 kB / 0.5855 GB, free: 8.098 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/1.738, allocations: 41.62 kB / 0.5855 GB, free: 8.051 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/1.738, allocations: 0 / 0.5855 GB, free: 8.051 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/1.738, allocations: 8.219 kB / 0.5855 GB, free: 8.043 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/1.739, allocations: 211.7 kB / 0.5857 GB, free: 7.836 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003525/1.74, allocations: 0.5898 MB / 0.5863 GB, free: 7.223 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/1.74, allocations: 39.8 kB / 0.5863 GB, free: 7.184 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/1.74, allocations: 8 kB / 0.5863 GB, free: 7.176 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.0001927/1.74, allocations: 174.2 kB / 0.5865 GB, free: 6.992 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/1.74, allocations: 27.95 kB / 0.5865 GB, free: 6.965 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005437/1.741, allocations: 246.9 kB / 0.5868 GB, free: 6.711 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/1.741, allocations: 0 / 0.5868 GB, free: 6.711 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/1.741, allocations: 3.938 kB / 0.5868 GB, free: 6.707 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/1.741, allocations: 0 / 0.5868 GB, free: 6.707 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/1.741, allocations: 293.4 kB / 0.587 GB, free: 6.371 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/1.741, allocations: 0 / 0.587 GB, free: 6.371 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/1.742, allocations: 203.8 kB / 0.5872 GB, free: 6.172 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/1.742, allocations: 0 / 0.5872 GB, free: 6.172 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/1.743, allocations: 4 kB / 0.5872 GB, free: 6.168 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002933/1.743, allocations: 0.5937 MB / 0.5878 GB, free: 5.551 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.743, allocations: 0 / 0.5878 GB, free: 5.551 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004795/1.743, allocations: 254.6 kB / 0.5881 GB, free: 5.277 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/1.743, allocations: 120.9 kB / 0.5882 GB, free: 5.141 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/1.743, allocations: 8 kB / 0.5882 GB, free: 5.133 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/1.744, allocations: 15.98 kB / 0.5882 GB, free: 5.117 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/1.744, allocations: 19.92 kB / 0.5882 GB, free: 5.098 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/1.744, allocations: 4 kB / 0.5882 GB, free: 5.094 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001691/1.744, allocations: 193.9 kB / 0.5884 GB, free: 4.906 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/1.744, allocations: 0 / 0.5884 GB, free: 4.906 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001028/1.745, allocations: 391.5 kB / 0.5888 GB, free: 4.523 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.001754/1.747, allocations: 0.5057 MB / 0.5893 GB, free: 4.012 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01079/1.757, allocations: 0.89 MB / 0.5902 GB, free: 3.109 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.758, allocations: 0 / 0.5902 GB, free: 3.109 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009502/1.767, allocations: 0.6703 MB / 0.5908 GB, free: 2.426 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/1.767, allocations: 37.98 kB / 0.5908 GB, free: 2.391 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009475/1.768, allocations: 449.8 kB / 0.5913 GB, free: 1.926 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/1.769, allocations: 0.7478 MB / 0.592 GB, free: 1.152 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 9.885e-05/1.769, allocations: 21.95 kB / 0.592 GB, free: 1.133 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.591e-05/1.769, allocations: 23.42 kB / 0.592 GB, free: 1.109 MB / 478.1 MB Notification: Performance of SimCode: time 5.01e-07/1.769, allocations: 0 / 0.592 GB, free: 1.109 MB / 478.1 MB Notification: Performance of Templates: time 0.01974/1.789, allocations: 13.03 MB / 0.6048 GB, free: 4.09 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)