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.8373/0.8373, allocations: 150.9 MB / 166 MB, free: 14.58 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002895/0.0002893, allocations: 19.97 kB / 204 MB, free: 10.08 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1436, allocations: 31.32 MB / 235.4 MB, free: 5.457 MB / 190.1 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.558/1.702, allocations: 293.5 MB / 0.5165 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03833/1.74, allocations: 34.09 MB / 0.5498 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/1.74, allocations: 4 kB / 0.5498 GB, free: 11.07 MB / 446.1 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.0004709/1.741, allocations: 116.4 kB / 0.5499 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002729/1.741, allocations: 146.8 kB / 0.55 GB, free: 10.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01779/1.759, allocations: 6.477 MB / 0.5564 GB, free: 4.328 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008226/1.76, allocations: 0.6935 MB / 0.557 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003218/1.76, allocations: 260.7 kB / 0.5573 GB, free: 3.375 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003148/1.761, allocations: 266.9 kB / 0.5575 GB, free: 3.113 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/1.761, allocations: 294.7 kB / 0.5578 GB, free: 2.824 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.314e-05/1.761, allocations: 32 kB / 0.5579 GB, free: 2.793 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02603/1.787, allocations: 14.9 MB / 0.5724 GB, free: 3.871 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002162/1.787, allocations: 111.6 kB / 0.5725 GB, free: 3.762 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003559/1.788, allocations: 266.5 kB / 0.5728 GB, free: 3.5 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02088/1.808, allocations: 7.832 MB / 0.5804 GB, free: 11.65 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.809, allocations: 3.938 kB / 0.5804 GB, free: 11.64 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.463e-06/1.809, allocations: 0 / 0.5804 GB, free: 11.64 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/1.809, allocations: 4 kB / 0.5804 GB, free: 11.64 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.006117/1.815, allocations: 1.793 MB / 0.5822 GB, free: 9.797 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/1.815, allocations: 8.031 kB / 0.5822 GB, free: 9.789 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/1.815, allocations: 59.28 kB / 0.5822 GB, free: 9.73 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/1.815, allocations: 337.7 kB / 0.5826 GB, free: 9.363 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.29e-05/1.815, allocations: 70.69 kB / 0.5826 GB, free: 9.289 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.321e-05/1.815, allocations: 36 kB / 0.5827 GB, free: 9.254 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/1.817, allocations: 0.6493 MB / 0.5833 GB, free: 8.566 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/1.817, allocations: 0 / 0.5833 GB, free: 8.566 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/1.817, allocations: 16 kB / 0.5833 GB, free: 8.551 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/1.817, allocations: 23.94 kB / 0.5833 GB, free: 8.527 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/1.819, allocations: 0.6389 MB / 0.584 GB, free: 7.887 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.003205/1.822, allocations: 3.138 MB / 0.587 GB, free: 4.449 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/1.824, allocations: 0.6969 MB / 0.5877 GB, free: 3.746 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008324/1.825, allocations: 322.2 kB / 0.588 GB, free: 3.426 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07567/1.901, allocations: 44.14 MB / 0.6311 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/1.902, allocations: 386.5 kB / 0.6315 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 3.246e-06/1.902, allocations: 0 / 0.6315 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.008976/1.911, allocations: 2.137 MB / 0.6336 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/1.911, allocations: 59.19 kB / 0.6336 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003403/1.911, allocations: 333.5 kB / 0.634 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/1.911, allocations: 41.69 kB / 0.634 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/1.912, allocations: 232.9 kB / 0.6342 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/1.912, allocations: 224.6 kB / 0.6344 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/1.912, allocations: 118.1 kB / 0.6345 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.912, allocations: 358.8 kB / 0.6349 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000824/1.913, allocations: 269.4 kB / 0.6351 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009207/1.914, allocations: 425.1 kB / 0.6355 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006889/1.921, allocations: 1.735 MB / 0.6372 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/1.921, allocations: 7.938 kB / 0.6372 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002755/1.924, allocations: 1.013 MB / 0.6382 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/1.924, allocations: 8 kB / 0.6382 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.924, allocations: 4 kB / 0.6383 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003011/1.927, allocations: 0.755 MB / 0.639 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007142/1.927, allocations: 147.8 kB / 0.6391 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/1.929, allocations: 1.583 MB / 0.6407 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000599/1.93, allocations: 109.6 kB / 0.6408 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.892e-05/1.93, allocations: 23.98 kB / 0.6408 GB, free: 7.516 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.000308/1.93, allocations: 177.1 kB / 0.641 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-05/1.93, allocations: 55.38 kB / 0.641 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003817/1.934, allocations: 1.442 MB / 0.6424 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002356/1.936, allocations: 1.036 MB / 0.6434 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.936, allocations: 0 / 0.6434 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/1.936, allocations: 4.109 kB / 0.6434 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004358/1.941, allocations: 2.244 MB / 0.6456 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/1.941, allocations: 0 / 0.6456 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008212/1.942, allocations: 171.8 kB / 0.6458 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001932/1.944, allocations: 0.677 MB / 0.6465 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.469e-05/1.944, allocations: 15.98 kB / 0.6465 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/1.945, allocations: 1.623 MB / 0.6481 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.945, allocations: 4 kB / 0.6481 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003503/1.949, allocations: 1.62 MB / 0.6496 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002447/1.949, allocations: 188.1 kB / 0.6498 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.713e-05/1.949, allocations: 16 kB / 0.6498 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000535/1.95, allocations: 64 kB / 0.6499 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/1.95, allocations: 56.56 kB / 0.65 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/1.95, allocations: 19.94 kB / 0.65 GB, free: 13.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002344/1.95, allocations: 231.2 kB / 0.6502 GB, free: 13.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/1.95, allocations: 0 / 0.6502 GB, free: 13.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003094/1.953, allocations: 1.159 MB / 0.6513 GB, free: 12.54 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.004208/1.958, allocations: 1.621 MB / 0.6529 GB, free: 10.92 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002622/1.96, allocations: 0.9748 MB / 0.6539 GB, free: 9.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.96, allocations: 0 / 0.6539 GB, free: 9.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00138/1.962, allocations: 0.5309 MB / 0.6544 GB, free: 9.398 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009794/1.963, allocations: 191.1 kB / 0.6546 GB, free: 9.211 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/1.965, allocations: 1.595 MB / 0.6561 GB, free: 7.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/1.965, allocations: 0.9112 MB / 0.657 GB, free: 6.648 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002617/1.966, allocations: 56.19 kB / 0.6571 GB, free: 6.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/1.966, allocations: 39.44 kB / 0.6571 GB, free: 6.551 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/1.966, allocations: 0 / 0.6571 GB, free: 6.551 MB / 0.545 GB Notification: Performance of Templates: time 0.2133/2.179, allocations: 45.64 MB / 0.7017 GB, free: 222.8 MB / 0.5762 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)