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 0.7968/0.7968, allocations: 150.9 MB / 166 MB, free: 14.63 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002842/0.0002842, allocations: 15.97 kB / 204 MB, free: 10.12 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1418, allocations: 31.33 MB / 235.4 MB, free: 5.441 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.TestStaticCentrifugalPump2): time 1.538/1.679, allocations: 293.5 MB / 0.5165 GB, free: 13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0373/1.717, allocations: 34.09 MB / 0.5498 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002608/1.717, allocations: 4 kB / 0.5498 GB, free: 11.05 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.0005163/1.718, allocations: 121.3 kB / 0.5499 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/1.718, allocations: 146.8 kB / 0.55 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01835/1.736, allocations: 6.475 MB / 0.5564 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008886/1.737, allocations: 0.6935 MB / 0.557 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/1.738, allocations: 259 kB / 0.5573 GB, free: 3.355 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003828/1.738, allocations: 270.9 kB / 0.5576 GB, free: 3.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003169/1.738, allocations: 290.8 kB / 0.5578 GB, free: 2.805 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.49e-05/1.738, allocations: 35.94 kB / 0.5579 GB, free: 2.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02517/1.763, allocations: 14.9 MB / 0.5724 GB, free: 3.848 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001894/1.764, allocations: 107.6 kB / 0.5725 GB, free: 3.742 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003242/1.764, allocations: 270.5 kB / 0.5728 GB, free: 3.477 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01654/1.781, allocations: 7.832 MB / 0.5804 GB, free: 11.62 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/1.781, allocations: 3.938 kB / 0.5804 GB, free: 11.62 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.643e-06/1.781, allocations: 3.938 kB / 0.5804 GB, free: 11.62 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/1.781, allocations: 0 / 0.5804 GB, free: 11.62 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.005696/1.786, allocations: 1.789 MB / 0.5822 GB, free: 9.777 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.786, allocations: 16.03 kB / 0.5822 GB, free: 9.762 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/1.787, allocations: 59.28 kB / 0.5823 GB, free: 9.703 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/1.787, allocations: 337.7 kB / 0.5826 GB, free: 9.336 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.6e-05/1.787, allocations: 62.7 kB / 0.5826 GB, free: 9.27 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-05/1.787, allocations: 40 kB / 0.5827 GB, free: 9.23 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/1.789, allocations: 0.6493 MB / 0.5833 GB, free: 8.543 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/1.789, allocations: 4 kB / 0.5833 GB, free: 8.539 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.73e-05/1.789, allocations: 17.64 kB / 0.5833 GB, free: 8.523 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/1.789, allocations: 23.94 kB / 0.5834 GB, free: 8.5 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/1.79, allocations: 0.635 MB / 0.584 GB, free: 7.863 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.003129/1.794, allocations: 3.141 MB / 0.587 GB, free: 4.422 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/1.795, allocations: 0.5424 MB / 0.5876 GB, free: 3.871 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008347/1.796, allocations: 327.7 kB / 0.5879 GB, free: 3.551 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07727/1.873, allocations: 44.14 MB / 0.631 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001125/1.874, allocations: 374.6 kB / 0.6313 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 2.384e-06/1.874, allocations: 0 / 0.6313 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.01163/1.886, allocations: 2.429 MB / 0.6337 GB, free: 15 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/1.886, allocations: 63.34 kB / 0.6338 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/1.887, allocations: 337.5 kB / 0.6341 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/1.887, allocations: 33.7 kB / 0.6341 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/1.887, allocations: 232.9 kB / 0.6344 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/1.887, allocations: 224.6 kB / 0.6346 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/1.887, allocations: 118.1 kB / 0.6347 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001143/1.887, allocations: 362.8 kB / 0.635 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008398/1.888, allocations: 269.4 kB / 0.6353 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009255/1.889, allocations: 425.1 kB / 0.6357 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007165/1.896, allocations: 1.726 MB / 0.6374 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/1.896, allocations: 4 kB / 0.6374 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004215/1.9, allocations: 1.189 MB / 0.6385 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/1.9, allocations: 8 kB / 0.6385 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/1.9, allocations: 8.25 kB / 0.6386 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003182/1.904, allocations: 0.7929 MB / 0.6393 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007549/1.904, allocations: 147.8 kB / 0.6395 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/1.906, allocations: 1.605 MB / 0.641 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006167/1.907, allocations: 103.3 kB / 0.6411 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/1.907, allocations: 27.98 kB / 0.6412 GB, free: 7.129 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 (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.0002589/1.907, allocations: 171.7 kB / 0.6413 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.034e-05/1.907, allocations: 51.34 kB / 0.6414 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004548/1.912, allocations: 1.521 MB / 0.6429 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002419/1.914, allocations: 1.053 MB / 0.6439 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.914, allocations: 0 / 0.6439 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/1.914, allocations: 3.984 kB / 0.6439 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004173/1.918, allocations: 2.196 MB / 0.646 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.918, allocations: 0 / 0.646 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000884/1.919, allocations: 167.8 kB / 0.6462 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002106/1.921, allocations: 0.7196 MB / 0.6469 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/1.922, allocations: 19.98 kB / 0.6469 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/1.923, allocations: 1.653 MB / 0.6485 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.923, allocations: 3.938 kB / 0.6485 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003676/1.927, allocations: 1.643 MB / 0.6501 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/1.927, allocations: 188.1 kB / 0.6503 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-05/1.927, allocations: 16 kB / 0.6503 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000565/1.928, allocations: 67.84 kB / 0.6504 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/1.928, allocations: 64.5 kB / 0.6505 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/1.928, allocations: 16 kB / 0.6505 GB, free: 13.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002192/1.928, allocations: 231.1 kB / 0.6507 GB, free: 13.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/1.928, allocations: 0 / 0.6507 GB, free: 13.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002966/1.931, allocations: 1.155 MB / 0.6518 GB, free: 12.01 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 (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.005237/1.937, allocations: 1.622 MB / 0.6534 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002975/1.94, allocations: 0.9903 MB / 0.6544 GB, free: 9.379 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/1.94, allocations: 0.5625 kB / 0.6544 GB, free: 9.379 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001496/1.941, allocations: 0.5304 MB / 0.6549 GB, free: 8.852 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/1.942, allocations: 195.2 kB / 0.6551 GB, free: 8.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/1.945, allocations: 1.61 MB / 0.6567 GB, free: 7.023 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/1.945, allocations: 0.8996 MB / 0.6575 GB, free: 6.094 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003001/1.946, allocations: 60.17 kB / 0.6576 GB, free: 6.031 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/1.946, allocations: 39.42 kB / 0.6576 GB, free: 5.992 MB / 0.545 GB Notification: Performance of SimCode: time 1.032e-06/1.946, allocations: 0 / 0.6576 GB, free: 5.992 MB / 0.545 GB Notification: Performance of Templates: time 0.2136/2.159, allocations: 45.69 MB / 0.7022 GB, free: 223.4 MB / 0.5762 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)