Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.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.SimpleExamples.TestStaticCentrifugalPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8062/0.8062, allocations: 150.8 MB / 166.6 MB, free: 11.17 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002446/0.0002446, allocations: 19.98 kB / 204.7 MB, free: 6.164 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1332, allocations: 31.33 MB / 236 MB, free: 3.863 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.SimpleExamples.TestStaticCentrifugalPump): time 1.513/1.646, allocations: 292.9 MB / 0.5165 GB, free: 9.195 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03983/1.686, allocations: 34.09 MB / 0.5498 GB, free: 7.246 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002497/1.686, allocations: 4 kB / 0.5498 GB, free: 7.242 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.0004607/1.686, allocations: 121.3 kB / 0.5499 GB, free: 7.125 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/1.687, allocations: 138.9 kB / 0.55 GB, free: 6.988 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01806/1.705, allocations: 6.486 MB / 0.5563 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008253/1.706, allocations: 0.6974 MB / 0.557 GB, free: 15.8 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003185/1.706, allocations: 264.7 kB / 0.5573 GB, free: 15.55 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003298/1.706, allocations: 278.8 kB / 0.5575 GB, free: 15.27 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/1.707, allocations: 282.8 kB / 0.5578 GB, free: 15 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.779e-05/1.707, allocations: 35.94 kB / 0.5578 GB, free: 14.96 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02409/1.731, allocations: 14.89 MB / 0.5724 GB, free: 48 kB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000177/1.731, allocations: 107.7 kB / 0.5725 GB, free: 15.94 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003153/1.731, allocations: 274.5 kB / 0.5728 GB, free: 15.67 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0157/1.747, allocations: 7.836 MB / 0.5804 GB, free: 7.816 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/1.747, allocations: 7.922 kB / 0.5804 GB, free: 7.809 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.563e-06/1.747, allocations: 0 / 0.5804 GB, free: 7.809 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/1.747, allocations: 0 / 0.5804 GB, free: 7.809 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.005085/1.752, allocations: 1.793 MB / 0.5822 GB, free: 5.965 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/1.752, allocations: 12.03 kB / 0.5822 GB, free: 5.953 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/1.752, allocations: 59.28 kB / 0.5822 GB, free: 5.895 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/1.753, allocations: 329.8 kB / 0.5825 GB, free: 5.531 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.757e-05/1.753, allocations: 66.7 kB / 0.5826 GB, free: 5.461 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-05/1.753, allocations: 36 kB / 0.5826 GB, free: 5.426 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/1.754, allocations: 0.6571 MB / 0.5833 GB, free: 4.73 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/1.754, allocations: 4 kB / 0.5833 GB, free: 4.727 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/1.754, allocations: 16 kB / 0.5833 GB, free: 4.711 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/1.754, allocations: 23.92 kB / 0.5833 GB, free: 4.688 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/1.756, allocations: 0.6351 MB / 0.5839 GB, free: 4.051 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.003003/1.759, allocations: 3.146 MB / 0.587 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002595/1.762, allocations: 0.6984 MB / 0.5877 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00091/1.763, allocations: 322.1 kB / 0.588 GB, free: 15.58 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08468/1.848, allocations: 44.14 MB / 0.6311 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/1.849, allocations: 370.6 kB / 0.6315 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=68): time 2.975e-06/1.849, allocations: 0 / 0.6315 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=68): time 0.009024/1.858, allocations: 2.134 MB / 0.6336 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/1.858, allocations: 67.06 kB / 0.6336 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/1.858, allocations: 337.5 kB / 0.6339 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/1.858, allocations: 29.7 kB / 0.634 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/1.858, allocations: 232.9 kB / 0.6342 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/1.858, allocations: 228.6 kB / 0.6344 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/1.859, allocations: 118.1 kB / 0.6345 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.859, allocations: 362.8 kB / 0.6349 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008851/1.86, allocations: 269.4 kB / 0.6351 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009668/1.861, allocations: 417.2 kB / 0.6355 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006995/1.868, allocations: 1.736 MB / 0.6372 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/1.868, allocations: 0 / 0.6372 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002794/1.87, allocations: 1.017 MB / 0.6382 GB, free: 6.375 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/1.871, allocations: 8 kB / 0.6382 GB, free: 6.367 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/1.871, allocations: 4 kB / 0.6382 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00279/1.873, allocations: 0.763 MB / 0.639 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007533/1.874, allocations: 143.7 kB / 0.6391 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/1.876, allocations: 1.587 MB / 0.6407 GB, free: 3.812 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006088/1.876, allocations: 103.5 kB / 0.6407 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-05/1.876, allocations: 31.98 kB / 0.6408 GB, free: 3.68 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.0002667/1.877, allocations: 176.5 kB / 0.6409 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.895e-05/1.877, allocations: 51.31 kB / 0.641 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003825/1.881, allocations: 1.45 MB / 0.6424 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002516/1.883, allocations: 1.04 MB / 0.6434 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.883, allocations: 0 / 0.6434 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/1.883, allocations: 7.984 kB / 0.6434 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004477/1.888, allocations: 2.228 MB / 0.6456 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/1.888, allocations: 0 / 0.6456 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008764/1.889, allocations: 167.8 kB / 0.6458 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001863/1.891, allocations: 0.6848 MB / 0.6464 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.617e-05/1.891, allocations: 16 kB / 0.6465 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/1.892, allocations: 1.625 MB / 0.648 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.892, allocations: 0 / 0.648 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04938/1.942, allocations: 19.49 MB / 0.6671 GB, free: 8.094 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000227/1.942, allocations: 199.9 kB / 0.6673 GB, free: 7.879 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.212e-05/1.942, allocations: 20 kB / 0.6673 GB, free: 7.859 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005583/1.942, allocations: 63.94 kB / 0.6673 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/1.943, allocations: 56.56 kB / 0.6674 GB, free: 7.742 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/1.943, allocations: 23.92 kB / 0.6674 GB, free: 7.719 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002115/1.943, allocations: 227.2 kB / 0.6676 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.1e-07/1.943, allocations: 0 / 0.6676 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004858/1.948, allocations: 2.268 MB / 0.6699 GB, free: 5.227 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.007572/1.955, allocations: 2.602 MB / 0.6724 GB, free: 2.613 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002783/1.958, allocations: 0.9793 MB / 0.6734 GB, free: 1.613 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.958, allocations: 4 kB / 0.6734 GB, free: 1.609 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001461/1.96, allocations: 0.5304 MB / 0.6739 GB, free: 1.078 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/1.961, allocations: 189.1 kB / 0.6741 GB, free: 0.8984 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/1.965, allocations: 2.672 MB / 0.6767 GB, free: 14.17 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/1.965, allocations: 0.9471 MB / 0.6776 GB, free: 13.19 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000341/1.965, allocations: 72.16 kB / 0.6777 GB, free: 13.12 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/1.966, allocations: 43.42 kB / 0.6777 GB, free: 13.08 MB / 0.573 GB Notification: Performance of SimCode: time 4.81e-07/1.966, allocations: 4 kB / 0.6777 GB, free: 13.07 MB / 0.573 GB Notification: Performance of Templates: time 0.2338/2.2, allocations: 73.72 MB / 0.7497 GB, free: 182.8 MB / 0.573 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump.pipe 2>&1)