Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump1.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.TestDynamicCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8532/0.8532, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.122e-05/2.124e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.174, allocations: 31.97 MB / 236.8 MB, free: 5.441 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.TestDynamicCentrifugalPump1): time 1.736/1.91, allocations: 294.7 MB / 0.519 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0397/1.95, allocations: 33.68 MB / 0.5519 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004547/1.95, allocations: 4 kB / 0.5519 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005511/1.951, allocations: 119.3 kB / 0.552 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005878/1.951, allocations: 158.8 kB / 0.5521 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02257/1.974, allocations: 6.656 MB / 0.5586 GB, free: 3.859 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001055/1.975, allocations: 0.7557 MB / 0.5594 GB, free: 3.098 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003699/1.976, allocations: 278.9 kB / 0.5597 GB, free: 2.824 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003488/1.976, allocations: 282.8 kB / 0.5599 GB, free: 2.547 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000338/1.976, allocations: 306.5 kB / 0.5602 GB, free: 2.246 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.536e-05/1.976, allocations: 28 kB / 0.5602 GB, free: 2.219 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03034/2.007, allocations: 14.99 MB / 0.5749 GB, free: 3.207 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002333/2.007, allocations: 107.5 kB / 0.575 GB, free: 3.102 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004382/2.007, allocations: 316.1 kB / 0.5753 GB, free: 2.785 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0217/2.029, allocations: 7.824 MB / 0.5829 GB, free: 10.94 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/2.029, allocations: 4 kB / 0.5829 GB, free: 10.94 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.818e-06/2.029, allocations: 0 / 0.5829 GB, free: 10.94 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.988e-06/2.029, allocations: 0 / 0.5829 GB, free: 10.94 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: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.006283/2.035, allocations: 1.809 MB / 0.5847 GB, free: 9.078 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/2.036, allocations: 8.031 kB / 0.5847 GB, free: 9.07 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/2.036, allocations: 71.09 kB / 0.5848 GB, free: 9 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/2.036, allocations: 350.3 kB / 0.5851 GB, free: 8.617 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.927e-05/2.036, allocations: 66.7 kB / 0.5852 GB, free: 8.547 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.461e-05/2.036, allocations: 53.44 kB / 0.5852 GB, free: 8.496 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/2.038, allocations: 0.7419 MB / 0.5859 GB, free: 7.711 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/2.038, allocations: 0 / 0.5859 GB, free: 7.711 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/2.038, allocations: 24 kB / 0.586 GB, free: 7.688 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/2.038, allocations: 23.94 kB / 0.586 GB, free: 7.664 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/2.04, allocations: 0.7454 MB / 0.5867 GB, free: 6.922 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.0034/2.043, allocations: 3.286 MB / 0.5899 GB, free: 3.328 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002429/2.046, allocations: 0.8115 MB / 0.5907 GB, free: 2.512 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009761/2.047, allocations: 386.4 kB / 0.5911 GB, free: 2.133 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08108/2.128, allocations: 44.48 MB / 0.6345 GB, free: 104 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001306/2.129, allocations: 442.4 kB / 0.6349 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=77): time 3.106e-06/2.129, allocations: 0 / 0.6349 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=77): time 0.007307/2.137, allocations: 2.168 MB / 0.6371 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/2.137, allocations: 55.84 kB / 0.6371 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003575/2.137, allocations: 353.4 kB / 0.6374 GB, free: 13 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.415e-05/2.137, allocations: 41.64 kB / 0.6375 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/2.137, allocations: 236.8 kB / 0.6377 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000195/2.137, allocations: 268 kB / 0.638 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-05/2.138, allocations: 73.67 kB / 0.638 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001496/2.138, allocations: 370.7 kB / 0.6384 GB, free: 12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009659/2.139, allocations: 317.5 kB / 0.6387 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/2.14, allocations: 494.1 kB / 0.6392 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007855/2.148, allocations: 2.092 MB / 0.6412 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/2.148, allocations: 4 kB / 0.6412 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.004682/2.152, allocations: 1.441 MB / 0.6426 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/2.152, allocations: 8 kB / 0.6426 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/2.152, allocations: 4 kB / 0.6426 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003528/2.156, allocations: 0.9579 MB / 0.6436 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008434/2.157, allocations: 183.7 kB / 0.6437 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/2.159, allocations: 1.731 MB / 0.6454 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006831/2.16, allocations: 131.2 kB / 0.6456 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/2.16, allocations: 27.98 kB / 0.6456 GB, free: 4.441 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,Valve.C2.b,Valve.C1.a,Tank.Cs1.b,Tank.Ce2.a,Tank.Cs2.b,Tank.Ce1.a,DynamicCentrifugalPump1.C2.b,DynamicCentrifugalPump1.C1.a,Tank.Cs1.a,Tank.Ce1.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * 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 {(9,22), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003127/2.16, allocations: 187.2 kB / 0.6458 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.458e-05/2.16, allocations: 55.34 kB / 0.6458 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003164/2.163, allocations: 1.472 MB / 0.6473 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002689/2.166, allocations: 1.184 MB / 0.6484 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/2.166, allocations: 3.938 kB / 0.6484 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/2.166, allocations: 3.984 kB / 0.6484 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004599/2.171, allocations: 2.387 MB / 0.6508 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/2.171, allocations: 0 / 0.6508 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/2.172, allocations: 227.8 kB / 0.651 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001792/2.174, allocations: 0.6179 MB / 0.6516 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.991e-05/2.174, allocations: 19.98 kB / 0.6516 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002642/2.176, allocations: 2.98 MB / 0.6545 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/2.176, allocations: 0 / 0.6545 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004067/2.18, allocations: 1.843 MB / 0.6563 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/2.181, allocations: 200 kB / 0.6565 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.724e-05/2.181, allocations: 16 kB / 0.6565 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006274/2.181, allocations: 79.92 kB / 0.6566 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/2.182, allocations: 60.91 kB / 0.6566 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-05/2.182, allocations: 27.98 kB / 0.6567 GB, free: 8.754 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002612/2.182, allocations: 239.1 kB / 0.6569 GB, free: 8.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.31e-07/2.182, allocations: 0 / 0.6569 GB, free: 8.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003817/2.186, allocations: 1.183 MB / 0.658 GB, free: 7.336 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (DynamicCentrifugalPump1.w,DynamicCentrifugalPump1.h,Tank.z,Tank.h,Shaft1.delta) * 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 (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(5,16), (1,2), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005704/2.191, allocations: 1.604 MB / 0.6596 GB, free: 5.727 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003291/2.195, allocations: 1.161 MB / 0.6607 GB, free: 4.555 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/2.195, allocations: 0 / 0.6607 GB, free: 4.555 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001752/2.197, allocations: 0.7187 MB / 0.6615 GB, free: 3.824 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/2.198, allocations: 189.3 kB / 0.6616 GB, free: 3.637 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/2.201, allocations: 2.099 MB / 0.6637 GB, free: 1.516 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/2.201, allocations: 0.9348 MB / 0.6646 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000309/2.202, allocations: 60.42 kB / 0.6647 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/2.202, allocations: 47.42 kB / 0.6647 GB, free: 460 kB / 0.545 GB Notification: Performance of SimCode: time 1.382e-06/2.202, allocations: 0 / 0.6647 GB, free: 460 kB / 0.545 GB Notification: Performance of Templates: time 0.2458/2.448, allocations: 46.04 MB / 0.7097 GB, free: 223.4 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump1.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump1.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump1.pipe 2>&1) Environment - environmentSimulation: