Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.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.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.739/0.739, allocations: 150.8 MB / 166.1 MB, free: 15.4 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 9.779e-06/9.789e-06, allocations: 0 / 204.8 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1336, allocations: 31.98 MB / 236.8 MB, free: 5.402 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.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump): time 1.41/1.543, allocations: 294.4 MB / 0.5187 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03268/1.576, allocations: 33.58 MB / 0.5515 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002162/1.576, allocations: 0 / 0.5515 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003516/1.577, allocations: 111.4 kB / 0.5516 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003263/1.577, allocations: 158.8 kB / 0.5517 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01552/1.592, allocations: 6.62 MB / 0.5582 GB, free: 4.312 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000686/1.593, allocations: 0.6857 MB / 0.5589 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002833/1.593, allocations: 242.2 kB / 0.5591 GB, free: 3.391 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002832/1.594, allocations: 258.9 kB / 0.5593 GB, free: 3.137 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/1.594, allocations: 278.7 kB / 0.5596 GB, free: 2.863 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.673e-05/1.594, allocations: 24 kB / 0.5596 GB, free: 2.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02099/1.615, allocations: 14.98 MB / 0.5743 GB, free: 3.844 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/1.615, allocations: 99.52 kB / 0.5744 GB, free: 3.746 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002845/1.616, allocations: 284.2 kB / 0.5746 GB, free: 3.461 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0124/1.628, allocations: 7.746 MB / 0.5822 GB, free: 11.7 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/1.628, allocations: 0 / 0.5822 GB, free: 11.7 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.643e-06/1.628, allocations: 0 / 0.5822 GB, free: 11.7 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/1.628, allocations: 0 / 0.5822 GB, free: 11.7 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.00478/1.633, allocations: 1.743 MB / 0.5839 GB, free: 9.898 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/1.633, allocations: 12.03 kB / 0.5839 GB, free: 9.887 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/1.633, allocations: 67.19 kB / 0.584 GB, free: 9.82 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/1.633, allocations: 329.8 kB / 0.5843 GB, free: 9.461 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.377e-05/1.633, allocations: 66.69 kB / 0.5843 GB, free: 9.391 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.443e-05/1.633, allocations: 45.53 kB / 0.5844 GB, free: 9.348 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/1.635, allocations: 0.6766 MB / 0.5851 GB, free: 8.633 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/1.635, allocations: 0 / 0.5851 GB, free: 8.633 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.324e-05/1.635, allocations: 16 kB / 0.5851 GB, free: 8.617 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/1.635, allocations: 27.92 kB / 0.5851 GB, free: 8.59 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/1.637, allocations: 0.6859 MB / 0.5858 GB, free: 7.902 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.002782/1.64, allocations: 3.154 MB / 0.5888 GB, free: 4.453 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/1.642, allocations: 0.7982 MB / 0.5896 GB, free: 3.648 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008623/1.643, allocations: 350.1 kB / 0.59 GB, free: 3.301 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07455/1.717, allocations: 44.48 MB / 0.6334 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/1.718, allocations: 407.4 kB / 0.6338 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 2.234e-06/1.719, allocations: 0 / 0.6338 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.009168/1.728, allocations: 2.423 MB / 0.6361 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/1.728, allocations: 63.19 kB / 0.6362 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/1.728, allocations: 337.6 kB / 0.6365 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/1.728, allocations: 29.7 kB / 0.6366 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/1.728, allocations: 236.8 kB / 0.6368 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/1.728, allocations: 224.6 kB / 0.637 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.647e-05/1.728, allocations: 61.69 kB / 0.6371 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.729, allocations: 358.8 kB / 0.6374 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008385/1.729, allocations: 301.4 kB / 0.6377 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009027/1.73, allocations: 457.1 kB / 0.6381 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006966/1.737, allocations: 1.96 MB / 0.64 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.737, allocations: 3.938 kB / 0.64 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002668/1.74, allocations: 1.076 MB / 0.6411 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/1.74, allocations: 5.25 kB / 0.6411 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.74, allocations: 8 kB / 0.6411 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002875/1.743, allocations: 0.8394 MB / 0.6419 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007446/1.744, allocations: 179.7 kB / 0.6421 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/1.745, allocations: 1.589 MB / 0.6436 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005751/1.746, allocations: 123.3 kB / 0.6438 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.447e-05/1.746, allocations: 23.98 kB / 0.6438 GB, free: 6.316 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.0002519/1.746, allocations: 177.7 kB / 0.644 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.491e-05/1.746, allocations: 51.38 kB / 0.644 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003721/1.75, allocations: 1.544 MB / 0.6455 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002379/1.752, allocations: 1.103 MB / 0.6466 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.752, allocations: 2.344 kB / 0.6466 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/1.752, allocations: 3.984 kB / 0.6466 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004128/1.757, allocations: 2.294 MB / 0.6488 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/1.757, allocations: 0 / 0.6488 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008607/1.757, allocations: 199.7 kB / 0.649 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001861/1.759, allocations: 0.7044 MB / 0.6497 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.119e-05/1.759, allocations: 19.98 kB / 0.6497 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/1.761, allocations: 1.635 MB / 0.6513 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.761, allocations: 128 / 0.6513 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003497/1.764, allocations: 1.71 MB / 0.653 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/1.765, allocations: 188.1 kB / 0.6532 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.152e-05/1.765, allocations: 19.98 kB / 0.6532 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005335/1.765, allocations: 75.94 kB / 0.6533 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/1.765, allocations: 64.56 kB / 0.6533 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/1.765, allocations: 16 kB / 0.6533 GB, free: 12.33 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001847/1.766, allocations: 227.2 kB / 0.6536 GB, free: 12.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/1.766, allocations: 0 / 0.6536 GB, free: 12.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002437/1.768, allocations: 1.151 MB / 0.6547 GB, free: 10.96 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.004299/1.772, allocations: 1.607 MB / 0.6563 GB, free: 9.344 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002521/1.775, allocations: 1.037 MB / 0.6573 GB, free: 8.289 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.775, allocations: 0 / 0.6573 GB, free: 8.289 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001377/1.776, allocations: 0.5544 MB / 0.6578 GB, free: 7.742 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009868/1.777, allocations: 190.1 kB / 0.658 GB, free: 7.551 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/1.78, allocations: 1.671 MB / 0.6596 GB, free: 5.855 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/1.78, allocations: 0.8996 MB / 0.6605 GB, free: 4.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002555/1.78, allocations: 64.17 kB / 0.6606 GB, free: 4.863 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/1.78, allocations: 43.42 kB / 0.6606 GB, free: 4.82 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/1.78, allocations: 0 / 0.6606 GB, free: 4.82 MB / 0.545 GB Notification: Performance of Templates: time 0.1949/1.975, allocations: 45.05 MB / 0.7046 GB, free: 225.5 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe 2>&1) Environment - environmentSimulation: