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.8095/0.8095, allocations: 150.9 MB / 166 MB, free: 14.57 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002664/0.0002664, allocations: 7.984 kB / 204 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1292, allocations: 31.33 MB / 235.3 MB, free: 5.449 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.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump): time 1.525/1.654, allocations: 293.4 MB / 0.5164 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03924/1.693, allocations: 34.08 MB / 0.5497 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002849/1.694, allocations: 0 / 0.5497 GB, free: 11.1 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.000495/1.694, allocations: 124.3 kB / 0.5498 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004182/1.695, allocations: 146.8 kB / 0.5499 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01925/1.714, allocations: 6.478 MB / 0.5563 GB, free: 4.344 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001242/1.715, allocations: 0.6856 MB / 0.5569 GB, free: 3.656 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005409/1.716, allocations: 266.4 kB / 0.5572 GB, free: 3.398 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005275/1.716, allocations: 274.9 kB / 0.5574 GB, free: 3.129 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000389/1.717, allocations: 290.7 kB / 0.5577 GB, free: 2.844 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.931e-05/1.717, allocations: 32 kB / 0.5578 GB, free: 2.812 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02588/1.743, allocations: 14.9 MB / 0.5723 GB, free: 3.895 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002575/1.743, allocations: 111.6 kB / 0.5724 GB, free: 3.785 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004654/1.743, allocations: 278.4 kB / 0.5727 GB, free: 3.512 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01573/1.759, allocations: 7.832 MB / 0.5803 GB, free: 11.66 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.759, allocations: 4 kB / 0.5803 GB, free: 11.66 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.254e-06/1.759, allocations: 0 / 0.5803 GB, free: 11.66 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.671e-05/1.759, allocations: 3.938 kB / 0.5803 GB, free: 11.65 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.005496/1.765, allocations: 1.791 MB / 0.5821 GB, free: 9.809 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/1.765, allocations: 12.03 kB / 0.5821 GB, free: 9.797 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/1.765, allocations: 59.28 kB / 0.5822 GB, free: 9.738 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003951/1.765, allocations: 337.7 kB / 0.5825 GB, free: 9.371 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/1.765, allocations: 58.7 kB / 0.5825 GB, free: 9.309 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.579e-05/1.765, allocations: 41.73 kB / 0.5826 GB, free: 9.27 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/1.767, allocations: 0.6532 MB / 0.5832 GB, free: 8.578 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/1.767, allocations: 0 / 0.5832 GB, free: 8.578 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.789e-05/1.767, allocations: 16 kB / 0.5832 GB, free: 8.562 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/1.767, allocations: 23.92 kB / 0.5832 GB, free: 8.539 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/1.769, allocations: 0.635 MB / 0.5839 GB, free: 7.902 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.003152/1.772, allocations: 3.146 MB / 0.5869 GB, free: 4.461 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002474/1.774, allocations: 0.6956 MB / 0.5876 GB, free: 3.758 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008644/1.775, allocations: 322.1 kB / 0.5879 GB, free: 3.438 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07626/1.852, allocations: 44.14 MB / 0.631 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001114/1.853, allocations: 378.5 kB / 0.6314 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 2.605e-06/1.853, allocations: 0 / 0.6314 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.008734/1.862, allocations: 2.126 MB / 0.6335 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/1.862, allocations: 67.19 kB / 0.6335 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/1.862, allocations: 337.4 kB / 0.6339 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/1.862, allocations: 33.7 kB / 0.6339 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/1.862, allocations: 228.9 kB / 0.6341 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/1.862, allocations: 228.6 kB / 0.6343 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/1.863, allocations: 118.1 kB / 0.6344 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.863, allocations: 358.8 kB / 0.6348 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008271/1.863, allocations: 273.4 kB / 0.635 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008912/1.864, allocations: 429.1 kB / 0.6355 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006795/1.871, allocations: 1.727 MB / 0.6371 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/1.871, allocations: 0 / 0.6371 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002667/1.874, allocations: 1.017 MB / 0.6381 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/1.874, allocations: 11.98 kB / 0.6381 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.874, allocations: 7.938 kB / 0.6381 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002937/1.877, allocations: 0.7605 MB / 0.6389 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007117/1.878, allocations: 143.8 kB / 0.639 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/1.879, allocations: 1.586 MB / 0.6406 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005863/1.88, allocations: 99.47 kB / 0.6407 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-05/1.88, allocations: 27.98 kB / 0.6407 GB, free: 7.531 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.0002891/1.88, allocations: 189.1 kB / 0.6409 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.172e-05/1.88, allocations: 47.38 kB / 0.6409 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003698/1.884, allocations: 1.446 MB / 0.6423 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00226/1.886, allocations: 1.044 MB / 0.6434 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.886, allocations: 0 / 0.6434 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/1.886, allocations: 3.984 kB / 0.6434 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00427/1.891, allocations: 2.237 MB / 0.6455 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/1.891, allocations: 4 kB / 0.6455 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008357/1.892, allocations: 167.8 kB / 0.6457 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001952/1.894, allocations: 0.6805 MB / 0.6464 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.007e-05/1.894, allocations: 16 kB / 0.6464 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/1.895, allocations: 1.621 MB / 0.648 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.895, allocations: 0 / 0.648 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003361/1.899, allocations: 1.616 MB / 0.6496 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/1.899, allocations: 188.1 kB / 0.6497 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.599e-05/1.899, allocations: 16.06 kB / 0.6497 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005428/1.9, allocations: 67.92 kB / 0.6498 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/1.9, allocations: 52.58 kB / 0.6499 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.153e-05/1.9, allocations: 28.05 kB / 0.6499 GB, free: 13.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000211/1.9, allocations: 223.2 kB / 0.6501 GB, free: 13.71 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/1.9, allocations: 4 kB / 0.6501 GB, free: 13.71 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003011/1.903, allocations: 1.151 MB / 0.6512 GB, free: 12.56 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.004898/1.908, allocations: 1.627 MB / 0.6528 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002472/1.91, allocations: 0.9709 MB / 0.6538 GB, free: 9.945 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.91, allocations: 3.938 kB / 0.6538 GB, free: 9.941 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/1.912, allocations: 0.5387 MB / 0.6543 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.0009892/1.913, allocations: 195.5 kB / 0.6545 GB, free: 9.211 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/1.915, allocations: 1.579 MB / 0.656 GB, free: 7.605 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/1.916, allocations: 0.9151 MB / 0.6569 GB, free: 6.66 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002843/1.916, allocations: 56.17 kB / 0.657 GB, free: 6.602 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/1.916, allocations: 39.42 kB / 0.657 GB, free: 6.562 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/1.916, allocations: 0 / 0.657 GB, free: 6.562 MB / 0.545 GB Notification: Performance of Templates: time 0.2216/2.138, allocations: 45.65 MB / 0.7016 GB, free: 222.5 MB / 0.5762 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)