Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2.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.TestStaticCentrifugalPump2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7348/0.7348, allocations: 150.8 MB / 166.1 MB, free: 15.44 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.405e-05/1.42e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1359, allocations: 31.98 MB / 236.8 MB, free: 5.676 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.TestStaticCentrifugalPump2): time 1.434/1.57, allocations: 294.5 MB / 0.5188 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03473/1.604, allocations: 33.58 MB / 0.5516 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/1.605, allocations: 0 / 0.5516 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/1.605, allocations: 115.4 kB / 0.5517 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003106/1.605, allocations: 142.9 kB / 0.5518 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01577/1.621, allocations: 6.626 MB / 0.5583 GB, free: 4.211 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007237/1.622, allocations: 0.6896 MB / 0.559 GB, free: 3.516 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003212/1.622, allocations: 244.8 kB / 0.5592 GB, free: 3.277 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003314/1.623, allocations: 254.8 kB / 0.5594 GB, free: 3.027 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/1.623, allocations: 274.8 kB / 0.5597 GB, free: 2.758 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.34e-05/1.623, allocations: 32 kB / 0.5597 GB, free: 2.727 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02218/1.645, allocations: 14.97 MB / 0.5744 GB, free: 3.738 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/1.645, allocations: 95.52 kB / 0.5744 GB, free: 3.645 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002739/1.646, allocations: 280.3 kB / 0.5747 GB, free: 3.363 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01207/1.658, allocations: 7.758 MB / 0.5823 GB, free: 11.59 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/1.658, allocations: 4 kB / 0.5823 GB, free: 11.58 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.753e-06/1.658, allocations: 0 / 0.5823 GB, free: 11.58 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/1.658, allocations: 0 / 0.5823 GB, free: 11.58 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.004866/1.663, allocations: 1.739 MB / 0.584 GB, free: 9.793 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/1.663, allocations: 12.03 kB / 0.584 GB, free: 9.781 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/1.663, allocations: 67.12 kB / 0.5841 GB, free: 9.715 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/1.663, allocations: 337.8 kB / 0.5844 GB, free: 9.348 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.172e-05/1.663, allocations: 58.7 kB / 0.5844 GB, free: 9.285 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.773e-05/1.663, allocations: 40 kB / 0.5845 GB, free: 9.246 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/1.665, allocations: 0.6899 MB / 0.5852 GB, free: 8.52 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/1.665, allocations: 0 / 0.5852 GB, free: 8.52 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-05/1.665, allocations: 16 kB / 0.5852 GB, free: 8.504 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/1.665, allocations: 23.92 kB / 0.5852 GB, free: 8.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/1.667, allocations: 0.6898 MB / 0.5859 GB, free: 7.789 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.002876/1.669, allocations: 3.15 MB / 0.5889 GB, free: 4.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/1.671, allocations: 0.6028 MB / 0.5895 GB, free: 3.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008565/1.672, allocations: 346.1 kB / 0.5899 GB, free: 3.391 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07511/1.747, allocations: 44.48 MB / 0.6333 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001161/1.748, allocations: 402.6 kB / 0.6337 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 2.465e-06/1.748, allocations: 0 / 0.6337 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.01138/1.76, allocations: 2.824 MB / 0.6364 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/1.76, allocations: 55.41 kB / 0.6365 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/1.76, allocations: 329.6 kB / 0.6368 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/1.76, allocations: 37.64 kB / 0.6368 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/1.76, allocations: 232.8 kB / 0.6371 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/1.76, allocations: 228.6 kB / 0.6373 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.974e-05/1.761, allocations: 61.67 kB / 0.6373 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.761, allocations: 358.8 kB / 0.6377 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008439/1.762, allocations: 305.4 kB / 0.638 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009238/1.762, allocations: 449.2 kB / 0.6384 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006949/1.769, allocations: 1.961 MB / 0.6403 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/1.769, allocations: 4 kB / 0.6403 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004084/1.774, allocations: 1.314 MB / 0.6416 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/1.774, allocations: 4 kB / 0.6416 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.774, allocations: 7.938 kB / 0.6416 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003014/1.777, allocations: 0.8897 MB / 0.6425 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007512/1.777, allocations: 171.8 kB / 0.6427 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/1.779, allocations: 1.622 MB / 0.6442 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005806/1.78, allocations: 111.4 kB / 0.6443 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-05/1.78, allocations: 27.98 kB / 0.6444 GB, free: 5.723 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 (40): * Single equations (assignments): 38 * 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 {(7,16), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002445/1.78, allocations: 177.7 kB / 0.6445 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.864e-05/1.78, allocations: 43.44 kB / 0.6446 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004324/1.784, allocations: 1.657 MB / 0.6462 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002382/1.787, allocations: 1.111 MB / 0.6473 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.787, allocations: 0 / 0.6473 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/1.787, allocations: 7.984 kB / 0.6473 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003841/1.791, allocations: 2.258 MB / 0.6495 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/1.791, allocations: 0 / 0.6495 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008542/1.791, allocations: 195.8 kB / 0.6497 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001976/1.793, allocations: 0.7474 MB / 0.6504 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/1.793, allocations: 19.98 kB / 0.6504 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/1.795, allocations: 1.66 MB / 0.6521 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.795, allocations: 7.938 kB / 0.6521 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003553/1.799, allocations: 1.729 MB / 0.6537 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/1.799, allocations: 184.1 kB / 0.6539 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.973e-05/1.799, allocations: 24 kB / 0.6539 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005263/1.799, allocations: 79.81 kB / 0.654 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/1.8, allocations: 60.56 kB / 0.6541 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/1.8, allocations: 19.98 kB / 0.6541 GB, free: 11.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001833/1.8, allocations: 219.2 kB / 0.6543 GB, free: 11.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/1.8, allocations: 0 / 0.6543 GB, free: 11.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002503/1.802, allocations: 1.159 MB / 0.6554 GB, free: 10.18 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 (52): * Single equations (assignments): 49 * 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 {(7,18), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003634/1.806, allocations: 1.607 MB / 0.657 GB, free: 8.566 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002467/1.808, allocations: 1.033 MB / 0.658 GB, free: 7.516 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.808, allocations: 3.938 kB / 0.658 GB, free: 7.512 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001398/1.81, allocations: 0.5661 MB / 0.6586 GB, free: 6.949 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009855/1.811, allocations: 191.7 kB / 0.6588 GB, free: 6.766 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/1.813, allocations: 1.684 MB / 0.6604 GB, free: 5.055 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/1.813, allocations: 0.9074 MB / 0.6613 GB, free: 4.121 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002304/1.814, allocations: 56.17 kB / 0.6613 GB, free: 4.062 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.549e-05/1.814, allocations: 39.42 kB / 0.6614 GB, free: 4.023 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/1.814, allocations: 4 kB / 0.6614 GB, free: 4.02 MB / 0.545 GB Notification: Performance of Templates: time 0.1955/2.009, allocations: 45.11 MB / 0.7054 GB, free: 225.4 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2.pipe 2>&1) Environment - environmentSimulation: