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.8952/0.8952, allocations: 150.8 MB / 166.6 MB, free: 11.15 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002768/0.0002768, allocations: 23.95 kB / 204.7 MB, free: 6.156 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1752, allocations: 31.32 MB / 236 MB, free: 3.898 MB / 186.7 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump): time 1.622/1.797, allocations: 292.8 MB / 0.5164 GB, free: 9.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03785/1.835, allocations: 34.08 MB / 0.5497 GB, free: 7.289 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/1.835, allocations: 4 kB / 0.5497 GB, free: 7.285 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:60:3-62:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:63:3-65:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/Tank.mo:71:3-72:53:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/Tank.mo:73:3-74:53:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/Tank.mo:78:3-79:55:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/Tank.mo:80:3-81:51:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:45:3-47:43:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:48:3-50:38:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004381/1.835, allocations: 116.9 kB / 0.5498 GB, free: 7.172 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/1.836, allocations: 150.8 kB / 0.5499 GB, free: 7.023 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0185/1.854, allocations: 6.473 MB / 0.5562 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008373/1.855, allocations: 0.6974 MB / 0.5569 GB, free: 15.85 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003206/1.855, allocations: 265 kB / 0.5572 GB, free: 15.59 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003651/1.856, allocations: 270.8 kB / 0.5574 GB, free: 15.32 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003111/1.856, allocations: 298.7 kB / 0.5577 GB, free: 15.03 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.923e-05/1.856, allocations: 32 kB / 0.5577 GB, free: 15 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02436/1.881, allocations: 14.89 MB / 0.5723 GB, free: 92 kB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/1.881, allocations: 103.7 kB / 0.5724 GB, free: 15.98 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003066/1.881, allocations: 270.4 kB / 0.5726 GB, free: 15.72 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02082/1.902, allocations: 7.848 MB / 0.5803 GB, free: 7.855 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.902, allocations: 3.938 kB / 0.5803 GB, free: 7.852 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.902, allocations: 0 / 0.5803 GB, free: 7.852 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.866e-06/1.902, allocations: 0 / 0.5803 GB, free: 7.852 MB / 474.7 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.005393/1.907, allocations: 1.793 MB / 0.5821 GB, free: 6.004 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/1.907, allocations: 12.03 kB / 0.5821 GB, free: 5.992 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/1.908, allocations: 59.28 kB / 0.5821 GB, free: 5.934 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/1.908, allocations: 333.8 kB / 0.5824 GB, free: 5.566 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.097e-05/1.908, allocations: 66.69 kB / 0.5825 GB, free: 5.496 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.709e-05/1.908, allocations: 36 kB / 0.5825 GB, free: 5.461 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/1.91, allocations: 0.6571 MB / 0.5832 GB, free: 4.766 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/1.91, allocations: 4 kB / 0.5832 GB, free: 4.762 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.262e-05/1.91, allocations: 20 kB / 0.5832 GB, free: 4.742 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/1.91, allocations: 19.92 kB / 0.5832 GB, free: 4.723 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/1.911, allocations: 0.6351 MB / 0.5839 GB, free: 4.086 MB / 474.7 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.002992/1.914, allocations: 3.146 MB / 0.5869 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002487/1.917, allocations: 0.6947 MB / 0.5876 GB, free: 15.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008594/1.918, allocations: 322.1 kB / 0.5879 GB, free: 15.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08283/2.001, allocations: 44.14 MB / 0.631 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/2.002, allocations: 378.5 kB / 0.6314 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=68): time 4.218e-06/2.002, allocations: 0 / 0.6314 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=68): time 0.009046/2.011, allocations: 2.137 MB / 0.6335 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/2.011, allocations: 59.19 kB / 0.6335 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/2.011, allocations: 333.5 kB / 0.6338 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/2.011, allocations: 33.7 kB / 0.6339 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/2.011, allocations: 228.9 kB / 0.6341 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/2.012, allocations: 228.6 kB / 0.6343 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/2.012, allocations: 118.1 kB / 0.6344 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001261/2.012, allocations: 358.8 kB / 0.6348 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000858/2.013, allocations: 269.4 kB / 0.635 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009497/2.014, allocations: 425.2 kB / 0.6354 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006926/2.021, allocations: 1.736 MB / 0.6371 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/2.021, allocations: 4 kB / 0.6371 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002776/2.024, allocations: 1.009 MB / 0.6381 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/2.024, allocations: 9.719 kB / 0.6381 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/2.024, allocations: 4.312 kB / 0.6381 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00275/2.026, allocations: 0.7646 MB / 0.6389 GB, free: 5.633 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007403/2.027, allocations: 147.7 kB / 0.639 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/2.029, allocations: 1.589 MB / 0.6406 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005926/2.03, allocations: 99.38 kB / 0.6407 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-05/2.03, allocations: 31.92 kB / 0.6407 GB, free: 3.715 MB / 0.5261 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.0003001/2.03, allocations: 175.2 kB / 0.6409 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.311e-05/2.03, allocations: 51.36 kB / 0.6409 GB, free: 3.484 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003676/2.034, allocations: 1.45 MB / 0.6423 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002382/2.036, allocations: 1.04 MB / 0.6433 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/2.036, allocations: 4 kB / 0.6433 GB, free: 0.9648 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/2.036, allocations: 3.984 kB / 0.6433 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004256/2.04, allocations: 2.232 MB / 0.6455 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/2.04, allocations: 3.984 kB / 0.6455 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008464/2.041, allocations: 171.7 kB / 0.6457 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001822/2.043, allocations: 0.6692 MB / 0.6463 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.389e-05/2.043, allocations: 19.98 kB / 0.6464 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/2.045, allocations: 1.626 MB / 0.6479 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/2.045, allocations: 0 / 0.6479 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04876/2.094, allocations: 19.5 MB / 0.667 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/2.094, allocations: 196.1 kB / 0.6672 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.515e-05/2.094, allocations: 12 kB / 0.6672 GB, free: 7.902 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005416/2.094, allocations: 67.88 kB / 0.6672 GB, free: 7.836 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/2.095, allocations: 56.56 kB / 0.6673 GB, free: 7.781 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.34e-05/2.095, allocations: 23.98 kB / 0.6673 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002122/2.095, allocations: 223.2 kB / 0.6675 GB, free: 7.539 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.71e-07/2.095, allocations: 0 / 0.6675 GB, free: 7.539 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0056/2.1, allocations: 2.268 MB / 0.6698 GB, free: 5.27 MB / 0.5573 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.009143/2.11, allocations: 2.61 MB / 0.6723 GB, free: 2.648 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002877/2.113, allocations: 0.9831 MB / 0.6733 GB, free: 1.648 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/2.113, allocations: 0 / 0.6733 GB, free: 1.648 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001459/2.114, allocations: 0.5189 MB / 0.6738 GB, free: 1.129 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/2.115, allocations: 195.2 kB / 0.674 GB, free: 0.9453 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004291/2.119, allocations: 2.689 MB / 0.6766 GB, free: 14.19 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/2.12, allocations: 0.9432 MB / 0.6775 GB, free: 13.22 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003565/2.12, allocations: 72.16 kB / 0.6776 GB, free: 13.15 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/2.121, allocations: 43.42 kB / 0.6776 GB, free: 13.11 MB / 0.573 GB Notification: Performance of SimCode: time 1.092e-06/2.121, allocations: 0 / 0.6776 GB, free: 13.11 MB / 0.573 GB Notification: Performance of Templates: time 0.2584/2.379, allocations: 73.72 MB / 0.7496 GB, free: 182.8 MB / 0.573 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.makefile (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)