Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump.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.TestStaticCentrifugalPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7303/0.7303, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.253e-05/1.254e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1309, allocations: 31.97 MB / 236.8 MB, free: 5.438 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump): time 1.42/1.551, allocations: 294.5 MB / 0.5188 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03435/1.586, allocations: 33.58 MB / 0.5516 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/1.586, allocations: 8 kB / 0.5516 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003212/1.586, allocations: 115.4 kB / 0.5517 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002521/1.587, allocations: 146.8 kB / 0.5518 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01563/1.602, allocations: 6.626 MB / 0.5583 GB, free: 4.301 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006816/1.603, allocations: 0.6935 MB / 0.559 GB, free: 3.602 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003172/1.603, allocations: 240 kB / 0.5592 GB, free: 3.367 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000337/1.604, allocations: 254.9 kB / 0.5594 GB, free: 3.117 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/1.604, allocations: 274.7 kB / 0.5597 GB, free: 2.848 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.65e-05/1.604, allocations: 28 kB / 0.5597 GB, free: 2.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02105/1.625, allocations: 14.97 MB / 0.5744 GB, free: 3.828 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/1.625, allocations: 95.53 kB / 0.5744 GB, free: 3.734 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002532/1.626, allocations: 288.3 kB / 0.5747 GB, free: 3.445 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01148/1.637, allocations: 7.75 MB / 0.5823 GB, free: 11.68 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/1.637, allocations: 0 / 0.5823 GB, free: 11.68 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.412e-06/1.637, allocations: 0 / 0.5823 GB, free: 11.68 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/1.637, allocations: 0 / 0.5823 GB, free: 11.68 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.004821/1.642, allocations: 1.747 MB / 0.584 GB, free: 9.879 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/1.642, allocations: 12.03 kB / 0.584 GB, free: 9.867 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/1.642, allocations: 63.19 kB / 0.5841 GB, free: 9.805 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/1.642, allocations: 329.8 kB / 0.5844 GB, free: 9.445 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.728e-05/1.642, allocations: 62.7 kB / 0.5844 GB, free: 9.379 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.939e-05/1.643, allocations: 44 kB / 0.5845 GB, free: 9.336 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/1.644, allocations: 0.6863 MB / 0.5852 GB, free: 8.613 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/1.644, allocations: 0 / 0.5852 GB, free: 8.613 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-05/1.644, allocations: 16 kB / 0.5852 GB, free: 8.598 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/1.644, allocations: 23.88 kB / 0.5852 GB, free: 8.574 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/1.646, allocations: 0.6936 MB / 0.5859 GB, free: 7.879 MB / 478.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.002846/1.649, allocations: 3.157 MB / 0.589 GB, free: 4.422 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/1.651, allocations: 0.7891 MB / 0.5897 GB, free: 3.625 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000868/1.652, allocations: 350.1 kB / 0.5901 GB, free: 3.277 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07489/1.727, allocations: 44.48 MB / 0.6335 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001096/1.728, allocations: 398.5 kB / 0.6339 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 2.455e-06/1.728, allocations: 4 kB / 0.6339 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.008951/1.737, allocations: 2.43 MB / 0.6362 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/1.737, allocations: 59.19 kB / 0.6363 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/1.737, allocations: 333.6 kB / 0.6366 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/1.738, allocations: 29.7 kB / 0.6367 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/1.738, allocations: 228.8 kB / 0.6369 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/1.738, allocations: 240.6 kB / 0.6371 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.931e-05/1.738, allocations: 61.67 kB / 0.6372 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001154/1.738, allocations: 358.8 kB / 0.6375 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008591/1.739, allocations: 297.4 kB / 0.6378 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009201/1.74, allocations: 461.1 kB / 0.6382 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007045/1.747, allocations: 1.953 MB / 0.6401 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/1.747, allocations: 4 kB / 0.6401 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002644/1.75, allocations: 1.08 MB / 0.6412 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/1.75, allocations: 8 kB / 0.6412 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/1.75, allocations: 4 kB / 0.6412 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002862/1.752, allocations: 0.8394 MB / 0.642 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007245/1.753, allocations: 171.8 kB / 0.6422 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001577/1.755, allocations: 1.601 MB / 0.6437 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005656/1.755, allocations: 115.3 kB / 0.6439 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.415e-05/1.755, allocations: 27.98 kB / 0.6439 GB, free: 6.297 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: pulse.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.pulse.T0,pulse.T0,VanneReglante1.C2.b,VanneReglante1.C1.a,Bache1.Cs1.b,Bache1.Ce2.a,Bache1.Cs2.b,Bache1.Ce1.a,StaticCentrifugalPump1.C2.b,StaticCentrifugalPump1.C1.a,Bache1.Cs1.a,Bache1.Ce1.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,16), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002651/1.756, allocations: 177.7 kB / 0.6441 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.269e-05/1.756, allocations: 47.38 kB / 0.6441 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003682/1.759, allocations: 1.551 MB / 0.6456 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002381/1.762, allocations: 1.091 MB / 0.6467 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.762, allocations: 11.88 kB / 0.6467 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.445e-06/1.762, allocations: 7.984 kB / 0.6467 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004065/1.766, allocations: 2.288 MB / 0.6489 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.766, allocations: 4 kB / 0.6489 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008435/1.767, allocations: 191.8 kB / 0.6491 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001824/1.769, allocations: 0.7005 MB / 0.6498 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/1.769, allocations: 23.92 kB / 0.6498 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/1.77, allocations: 1.641 MB / 0.6514 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/1.77, allocations: 4 kB / 0.6514 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003428/1.774, allocations: 1.706 MB / 0.6531 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/1.774, allocations: 184.1 kB / 0.6533 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.945e-05/1.774, allocations: 16.06 kB / 0.6533 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005335/1.774, allocations: 79.88 kB / 0.6534 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/1.775, allocations: 56.56 kB / 0.6534 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/1.775, allocations: 23.98 kB / 0.6534 GB, free: 12.31 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001849/1.775, allocations: 223.2 kB / 0.6537 GB, free: 12.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/1.775, allocations: 0 / 0.6537 GB, free: 12.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002556/1.777, allocations: 1.155 MB / 0.6548 GB, free: 10.93 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Bache1.z,Bache1.h) * Number of discrete variables: 2 ($whenCondition1,pulse.T0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,18), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004384/1.782, allocations: 1.61 MB / 0.6564 GB, free: 9.324 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002483/1.784, allocations: 1.026 MB / 0.6574 GB, free: 8.281 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.784, allocations: 0 / 0.6574 GB, free: 8.281 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001367/1.786, allocations: 0.5583 MB / 0.6579 GB, free: 7.727 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009791/1.787, allocations: 195.3 kB / 0.6581 GB, free: 7.535 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/1.789, allocations: 1.672 MB / 0.6597 GB, free: 5.836 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/1.789, allocations: 0.9074 MB / 0.6606 GB, free: 4.902 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002502/1.79, allocations: 60.17 kB / 0.6607 GB, free: 4.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.853e-05/1.79, allocations: 39.44 kB / 0.6607 GB, free: 4.801 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/1.79, allocations: 0 / 0.6607 GB, free: 4.801 MB / 0.545 GB Notification: Performance of Templates: time 0.1972/1.987, allocations: 45.05 MB / 0.7047 GB, free: 225.4 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump.pipe 2>&1) Environment - environmentSimulation: