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 1.041/1.041, allocations: 150.8 MB / 166.6 MB, free: 11.16 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000235/0.0002351, allocations: 11.98 kB / 204.7 MB, free: 6.164 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1409, allocations: 31.33 MB / 236 MB, free: 3.883 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.TestStaticCentrifugalPump2): time 1.593/1.734, allocations: 292.9 MB / 0.5165 GB, free: 9.145 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03746/1.771, allocations: 34.09 MB / 0.5498 GB, free: 7.191 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/1.771, allocations: 0 / 0.5498 GB, free: 7.191 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.0004361/1.772, allocations: 117.1 kB / 0.5499 GB, free: 7.078 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000281/1.772, allocations: 146.8 kB / 0.55 GB, free: 6.934 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01745/1.79, allocations: 6.479 MB / 0.5563 GB, free: 464 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007908/1.79, allocations: 0.7013 MB / 0.557 GB, free: 15.75 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003119/1.791, allocations: 265.2 kB / 0.5573 GB, free: 15.49 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003161/1.791, allocations: 266.9 kB / 0.5575 GB, free: 15.23 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003143/1.791, allocations: 302.7 kB / 0.5578 GB, free: 14.93 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.221e-05/1.792, allocations: 32 kB / 0.5579 GB, free: 14.9 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02358/1.815, allocations: 14.89 MB / 0.5724 GB, free: 15.98 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/1.815, allocations: 103.5 kB / 0.5725 GB, free: 15.89 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003933/1.816, allocations: 270.5 kB / 0.5728 GB, free: 15.62 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01504/1.831, allocations: 7.844 MB / 0.5804 GB, free: 7.758 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.831, allocations: 0 / 0.5804 GB, free: 7.758 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.155e-06/1.831, allocations: 4 kB / 0.5804 GB, free: 7.754 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.435e-05/1.831, allocations: 0 / 0.5804 GB, free: 7.754 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.005163/1.836, allocations: 1.789 MB / 0.5822 GB, free: 5.914 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/1.836, allocations: 8.031 kB / 0.5822 GB, free: 5.906 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/1.836, allocations: 67.22 kB / 0.5822 GB, free: 5.84 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004076/1.837, allocations: 337.8 kB / 0.5826 GB, free: 5.469 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.543e-05/1.837, allocations: 63.62 kB / 0.5826 GB, free: 5.402 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.163e-05/1.837, allocations: 40 kB / 0.5827 GB, free: 5.363 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/1.838, allocations: 0.6493 MB / 0.5833 GB, free: 4.676 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/1.838, allocations: 0 / 0.5833 GB, free: 4.676 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/1.838, allocations: 16 kB / 0.5833 GB, free: 4.66 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/1.838, allocations: 23.92 kB / 0.5833 GB, free: 4.637 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/1.84, allocations: 0.635 MB / 0.584 GB, free: 4 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.843, allocations: 3.142 MB / 0.587 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/1.845, allocations: 0.5502 MB / 0.5876 GB, free: 0 / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008921/1.846, allocations: 322.2 kB / 0.5879 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08383/1.93, allocations: 44.14 MB / 0.631 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001139/1.931, allocations: 370.6 kB / 0.6313 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=68): time 4.218e-06/1.931, allocations: 0 / 0.6313 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=68): time 0.01105/1.942, allocations: 2.433 MB / 0.6337 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/1.942, allocations: 55.41 kB / 0.6338 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/1.942, allocations: 333.5 kB / 0.6341 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/1.942, allocations: 33.7 kB / 0.6341 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/1.943, allocations: 228.9 kB / 0.6343 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/1.943, allocations: 228.6 kB / 0.6345 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/1.943, allocations: 118.1 kB / 0.6347 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.943, allocations: 362.8 kB / 0.635 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008834/1.944, allocations: 269.4 kB / 0.6353 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009554/1.945, allocations: 425.1 kB / 0.6357 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007093/1.952, allocations: 1.725 MB / 0.6373 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.952, allocations: 4 kB / 0.6374 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00413/1.956, allocations: 1.193 MB / 0.6385 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/1.956, allocations: 9.5 kB / 0.6385 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/1.956, allocations: 7.938 kB / 0.6385 GB, free: 6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00299/1.959, allocations: 0.792 MB / 0.6393 GB, free: 5.203 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008082/1.96, allocations: 147.8 kB / 0.6394 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/1.962, allocations: 1.605 MB / 0.641 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000606/1.963, allocations: 99.31 kB / 0.6411 GB, free: 3.305 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.987e-05/1.963, allocations: 27.98 kB / 0.6411 GB, free: 3.277 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 (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.00028/1.963, allocations: 183.3 kB / 0.6413 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.886e-05/1.963, allocations: 47.34 kB / 0.6414 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004463/1.967, allocations: 1.521 MB / 0.6428 GB, free: 1.508 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002492/1.97, allocations: 1.049 MB / 0.6439 GB, free: 452 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/1.97, allocations: 4 kB / 0.6439 GB, free: 448 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/1.97, allocations: 3.984 kB / 0.6439 GB, free: 444 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004124/1.974, allocations: 2.185 MB / 0.646 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.974, allocations: 3.984 kB / 0.646 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008997/1.975, allocations: 179.8 kB / 0.6462 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002063/1.977, allocations: 0.7161 MB / 0.6469 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.423e-05/1.977, allocations: 12 kB / 0.6469 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/1.979, allocations: 1.657 MB / 0.6485 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.979, allocations: 3.938 kB / 0.6485 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05273/2.032, allocations: 20.05 MB / 0.6681 GB, free: 7.004 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/2.032, allocations: 184.2 kB / 0.6683 GB, free: 6.805 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.707e-05/2.032, allocations: 16 kB / 0.6683 GB, free: 6.789 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005484/2.033, allocations: 71.77 kB / 0.6684 GB, free: 6.719 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/2.033, allocations: 52.58 kB / 0.6684 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.181e-05/2.033, allocations: 23.98 kB / 0.6684 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002211/2.033, allocations: 223.2 kB / 0.6686 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/2.033, allocations: 0 / 0.6686 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005645/2.039, allocations: 2.272 MB / 0.6709 GB, free: 4.152 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 (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.009263/2.048, allocations: 2.609 MB / 0.6734 GB, free: 1.531 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002983/2.051, allocations: 0.9828 MB / 0.6744 GB, free: 0.5273 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/2.051, allocations: 7.938 kB / 0.6744 GB, free: 0.5195 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001574/2.053, allocations: 0.5385 MB / 0.6749 GB, free: 15.98 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/2.054, allocations: 192.3 kB / 0.6751 GB, free: 15.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004449/2.058, allocations: 2.709 MB / 0.6777 GB, free: 13.03 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005137/2.059, allocations: 0.9432 MB / 0.6787 GB, free: 12.06 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003726/2.059, allocations: 76.16 kB / 0.6787 GB, free: 11.98 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/2.059, allocations: 47.42 kB / 0.6788 GB, free: 11.93 MB / 0.573 GB Notification: Performance of SimCode: time 4.91e-07/2.059, allocations: 3.938 kB / 0.6788 GB, free: 11.93 MB / 0.573 GB Notification: Performance of Templates: time 0.2409/2.3, allocations: 74.16 MB / 0.7512 GB, free: 181.2 MB / 0.573 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2.makefile (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)