Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution.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.TestCentrifugalPumpWaterSolution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.846/0.846, allocations: 150.8 MB / 166.1 MB, free: 15.37 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.919e-05/1.92e-05, allocations: 4 kB / 204.8 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1573, allocations: 31.98 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.TestCentrifugalPumpWaterSolution): time 1.68/1.837, allocations: 293.7 MB / 0.518 GB, free: 13.35 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01621/1.853, allocations: 13.45 MB / 0.5312 GB, free: 60 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002428/1.854, allocations: 7.938 kB / 0.5312 GB, free: 52 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 9.262e-05/1.854, allocations: 35.7 kB / 0.5312 GB, free: 16 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002426/1.854, allocations: 77.95 kB / 0.5313 GB, free: 15.94 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006539/1.861, allocations: 2.582 MB / 0.5338 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004221/1.861, allocations: 351.5 kB / 0.5342 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003201/1.861, allocations: 229.7 kB / 0.5344 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/1.862, allocations: 119.4 kB / 0.5345 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/1.862, allocations: 131.8 kB / 0.5346 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/1.862, allocations: 16 kB / 0.5346 GB, free: 12.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01133/1.873, allocations: 7.501 MB / 0.542 GB, free: 5.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/1.873, allocations: 51.72 kB / 0.542 GB, free: 5.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002425/1.873, allocations: 188.7 kB / 0.5422 GB, free: 4.828 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005854/1.879, allocations: 3.527 MB / 0.5456 GB, free: 1.293 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/1.879, allocations: 9.656 kB / 0.5456 GB, free: 1.285 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/1.879, allocations: 0 / 0.5456 GB, free: 1.285 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.676e-05/1.879, allocations: 0 / 0.5456 GB, free: 1.285 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001955/1.881, allocations: 0.8019 MB / 0.5464 GB, free: 448 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/1.881, allocations: 11.97 kB / 0.5464 GB, free: 436 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.337e-05/1.881, allocations: 45.25 kB / 0.5465 GB, free: 392 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/1.882, allocations: 268.2 kB / 0.5467 GB, free: 84 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.397e-05/1.882, allocations: 40.81 kB / 0.5468 GB, free: 44 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.227e-05/1.882, allocations: 48.08 kB / 0.5468 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007125/1.883, allocations: 0.4902 MB / 0.5473 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/1.883, allocations: 3.125 kB / 0.5473 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/1.883, allocations: 20 kB / 0.5473 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/1.883, allocations: 15.94 kB / 0.5473 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004865/1.883, allocations: 271.7 kB / 0.5476 GB, free: 15.15 MB / 446.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.006294/1.889, allocations: 4.129 MB / 0.5516 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/1.89, allocations: 148.1 kB / 0.5518 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/1.89, allocations: 64.83 kB / 0.5518 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004242/1.894, allocations: 1.694 MB / 0.5535 GB, free: 8.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/1.894, allocations: 34.56 kB / 0.5535 GB, free: 8.707 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.934e-06/1.894, allocations: 0 / 0.5535 GB, free: 8.707 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001131/1.896, allocations: 371.1 kB / 0.5539 GB, free: 8.316 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/1.896, allocations: 55.41 kB / 0.5539 GB, free: 8.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003701/1.896, allocations: 352.3 kB / 0.5543 GB, free: 7.895 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/1.896, allocations: 29.7 kB / 0.5543 GB, free: 7.859 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/1.896, allocations: 216 kB / 0.5545 GB, free: 7.641 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/1.896, allocations: 55.22 kB / 0.5545 GB, free: 7.586 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/1.896, allocations: 37.7 kB / 0.5546 GB, free: 7.543 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/1.896, allocations: 354.7 kB / 0.5549 GB, free: 7.188 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/1.896, allocations: 55.97 kB / 0.555 GB, free: 7.133 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/1.897, allocations: 176.4 kB / 0.5551 GB, free: 6.906 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/1.897, allocations: 239.2 kB / 0.5554 GB, free: 6.617 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.897, allocations: 0 / 0.5554 GB, free: 6.617 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005189/1.898, allocations: 314.9 kB / 0.5557 GB, free: 6.301 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/1.898, allocations: 11.98 kB / 0.5557 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.898, allocations: 4 kB / 0.5557 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009495/1.899, allocations: 160.7 kB / 0.5558 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/1.9, allocations: 183.7 kB / 0.556 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007495/1.901, allocations: 1.189 MB / 0.5572 GB, free: 4.707 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/1.901, allocations: 47.44 kB / 0.5572 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/1.901, allocations: 12 kB / 0.5572 GB, free: 4.648 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 17 (refXh2o.C2.b,refXh2o.C1.a,loopBreakerXh20_1.Cs.b,loopBreakerXh20_1.Ce.a,lumpedStraightPipe.C2.b,lumpedStraightPipe.C1.a,refT.C2.b,refT.C1.a,loopBreakerH.Cs.b,loopBreakerH.Ce.a,loopBreakerQ.Cs.b,loopBreakerQ.Ce.a,pump.C2.b,pump.C1.a,refP.C2.b,refP.C1.a,pump.commandePompe.signal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: 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): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001926/1.901, allocations: 167.9 kB / 0.5574 GB, free: 4.477 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/1.901, allocations: 31.61 kB / 0.5574 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000611/1.902, allocations: 230.3 kB / 0.5576 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/1.902, allocations: 7.922 kB / 0.5576 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.902, allocations: 0 / 0.5576 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.902, allocations: 1.406 kB / 0.5576 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003995/1.902, allocations: 325.5 kB / 0.558 GB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/1.902, allocations: 3.984 kB / 0.558 GB, free: 3.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/1.904, allocations: 175.8 kB / 0.5581 GB, free: 3.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005081/1.904, allocations: 104.7 kB / 0.5582 GB, free: 3.555 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/1.904, allocations: 7.938 kB / 0.5582 GB, free: 3.547 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006393/1.905, allocations: 1.177 MB / 0.5594 GB, free: 2.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.905, allocations: 4 kB / 0.5594 GB, free: 2.316 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005599/1.906, allocations: 308.5 kB / 0.5597 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/1.906, allocations: 120.6 kB / 0.5598 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/1.906, allocations: 4 kB / 0.5598 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/1.906, allocations: 11.98 kB / 0.5598 GB, free: 1.844 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/1.906, allocations: 7.938 kB / 0.5598 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/1.906, allocations: 4 kB / 0.5598 GB, free: 1.832 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002364/1.906, allocations: 235 kB / 0.5601 GB, free: 1.605 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/1.906, allocations: 4 kB / 0.5601 GB, free: 1.602 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001336/1.908, allocations: 419.6 kB / 0.5605 GB, free: 1.191 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: 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): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001439/1.909, allocations: 0.4908 MB / 0.5609 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01173/1.921, allocations: 0.816 MB / 0.5617 GB, free: 15.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/1.921, allocations: 0 / 0.5617 GB, free: 15.88 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01008/1.931, allocations: 0.5858 MB / 0.5623 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006413/1.932, allocations: 66.12 kB / 0.5624 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/1.933, allocations: 0.6828 MB / 0.563 GB, free: 14.53 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/1.933, allocations: 0.7836 MB / 0.5638 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/1.934, allocations: 28.38 kB / 0.5638 GB, free: 13.69 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/1.934, allocations: 19.44 kB / 0.5638 GB, free: 13.67 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/1.934, allocations: 4 kB / 0.5638 GB, free: 13.66 MB / 462.1 MB Notification: Performance of Templates: time 0.02372/1.957, allocations: 13.99 MB / 0.5775 GB, free: 15.72 MB / 478.1 MB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution.pipe 2>&1) Environment - environmentSimulation: