Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.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.8179/0.8179, allocations: 150.8 MB / 166.6 MB, free: 11.17 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002624/0.0002625, allocations: 7.984 kB / 204.7 MB, free: 6.152 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1507, allocations: 31.33 MB / 236 MB, free: 3.855 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.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump): time 1.709/1.86, allocations: 293.3 MB / 0.5169 GB, free: 8.676 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.4841/2.344, allocations: 184.9 MB / 0.6975 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005174/2.345, allocations: 9.125 kB / 0.6975 GB, free: 1.926 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StaticCentrifugalPump.mo:63:3-64:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StaticCentrifugalPump.mo:65:3-66:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/Tank.mo:135:3-136:66:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/Tank.mo:137:3-138:74:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/Tank.mo:142:3-143:68:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/Tank.mo:144:3-145:72:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/ControlValve.mo:44:3-45:68:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/ControlValve.mo:46:3-47:66:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003193/2.345, allocations: 71.69 kB / 0.6975 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0005123/2.345, allocations: 201.8 kB / 0.6977 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02238/2.368, allocations: 8.17 MB / 0.7057 GB, free: 1.719 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001098/2.369, allocations: 0.9912 MB / 0.7067 GB, free: 1.715 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004494/2.369, allocations: 452.2 kB / 0.7071 GB, free: 1.656 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004332/2.37, allocations: 383.2 kB / 0.7075 GB, free: 1.652 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004259/2.37, allocations: 450.6 kB / 0.7079 GB, free: 1.652 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.293e-05/2.37, allocations: 62.27 kB / 0.708 GB, free: 1.652 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02715/2.397, allocations: 16.87 MB / 0.7244 GB, free: 15.77 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002937/2.398, allocations: 184.8 kB / 0.7246 GB, free: 15.72 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006798/2.399, allocations: 414.9 kB / 0.725 GB, free: 15.68 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.02255/2.421, allocations: 9.184 MB / 0.734 GB, free: 12.28 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/2.421, allocations: 0 / 0.734 GB, free: 12.28 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.512e-06/2.421, allocations: 0 / 0.734 GB, free: 12.28 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.125e-05/2.421, allocations: 0 / 0.734 GB, free: 12.28 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.006724/2.428, allocations: 2.234 MB / 0.7362 GB, free: 10.94 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/2.428, allocations: 12.69 kB / 0.7362 GB, free: 10.94 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/2.428, allocations: 97.59 kB / 0.7363 GB, free: 10.89 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005537/2.429, allocations: 442.9 kB / 0.7367 GB, free: 10.57 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-05/2.429, allocations: 90.14 kB / 0.7368 GB, free: 10.54 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/2.429, allocations: 85.55 kB / 0.7369 GB, free: 10.53 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/2.431, allocations: 1.029 MB / 0.7379 GB, free: 10.07 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/2.431, allocations: 5.156 kB / 0.7379 GB, free: 10.07 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.936e-05/2.431, allocations: 36.42 kB / 0.7379 GB, free: 10.07 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/2.431, allocations: 23.66 kB / 0.7379 GB, free: 10.07 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002253/2.433, allocations: 0.9363 MB / 0.7388 GB, free: 9.879 MB / 0.573 GB 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.004546/2.438, allocations: 5.34 MB / 0.744 GB, free: 5.305 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/2.44, allocations: 0.7207 MB / 0.7448 GB, free: 5.074 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008288/2.441, allocations: 295.6 kB / 0.745 GB, free: 4.992 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3747/2.816, allocations: 180.4 MB / 0.9212 GB, free: 4.332 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001415/2.817, allocations: 380.9 kB / 0.9215 GB, free: 3.938 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=43): time 2.685e-06/2.817, allocations: 0 / 0.9215 GB, free: 3.938 MB / 0.7605 GB Notification: Performance of matching and sorting (n=43): time 0.008881/2.826, allocations: 1.971 MB / 0.9235 GB, free: 1.93 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.061e-05/2.826, allocations: 167.2 kB / 0.9236 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005585/2.827, allocations: 0.5104 MB / 0.9241 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/2.827, allocations: 33.7 kB / 0.9242 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/2.827, allocations: 431.1 kB / 0.9246 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/2.827, allocations: 160.8 kB / 0.9247 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/2.828, allocations: 186.3 kB / 0.9249 GB, free: 412 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001259/2.828, allocations: 366.7 kB / 0.9252 GB, free: 36 kB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000913/2.829, allocations: 285.8 kB / 0.9255 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/2.83, allocations: 0.6597 MB / 0.9262 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007567/2.837, allocations: 2.041 MB / 0.9282 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/2.837, allocations: 4 kB / 0.9282 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003913/2.841, allocations: 1.283 MB / 0.9294 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/2.841, allocations: 15.98 kB / 0.9294 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/2.841, allocations: 15.94 kB / 0.9294 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00267/2.844, allocations: 0.4983 MB / 0.9299 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009332/2.845, allocations: 220.6 kB / 0.9301 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/2.846, allocations: 1.409 MB / 0.9315 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008231/2.847, allocations: 147 kB / 0.9317 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.165e-05/2.847, allocations: 43.98 kB / 0.9317 GB, free: 9.176 MB / 0.7761 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: 58 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,Bache1.Cs2.ftype,Bache1.Cs1.ftype,Bache1.Ce1.ftype,Bache1.fluids[1],$PRE.pulse.T0,StaticCentrifugalPump1.fluid,VanneReglante1.fluid,pulse.T0,Bache1.fluid1,Bache1.Ce2.diff_on_2,VanneReglante1.C2.diff_on_2,Bache1.Cs2.diff_on_2,Bache1.Cs2.diff_on_1,VanneReglante1.C2.diff_on_1,StaticCentrifugalPump1.C2.diff_on_1,Bache1.Cs1.diff_on_1,Bache1.Ce1.diff_on_2,Bache1.Cs1.diff_on_2,Bache1.Ce1.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * 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 {(5,15), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003615/2.848, allocations: 236.8 kB / 0.9319 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.796e-05/2.848, allocations: 59.25 kB / 0.932 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002687/2.851, allocations: 0.8649 MB / 0.9328 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/2.851, allocations: 13.03 kB / 0.9328 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/2.851, allocations: 4 kB / 0.9328 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/2.851, allocations: 3.984 kB / 0.9328 GB, free: 8 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000932/2.852, allocations: 0.8382 MB / 0.9337 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/2.852, allocations: 4 kB / 0.9337 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007859/2.852, allocations: 134.6 kB / 0.9338 GB, free: 6.977 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001798/2.854, allocations: 382.5 kB / 0.9342 GB, free: 6.605 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.341e-05/2.854, allocations: 12 kB / 0.9342 GB, free: 6.594 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/2.856, allocations: 1.385 MB / 0.9355 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/2.856, allocations: 0 / 0.9355 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04042/2.896, allocations: 13.17 MB / 0.9484 GB, free: 7.621 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/2.896, allocations: 184.2 kB / 0.9486 GB, free: 7.422 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.393e-05/2.896, allocations: 12 kB / 0.9486 GB, free: 7.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005415/2.897, allocations: 59.94 kB / 0.9486 GB, free: 7.352 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/2.897, allocations: 36.38 kB / 0.9487 GB, free: 7.316 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.021e-05/2.897, allocations: 19.98 kB / 0.9487 GB, free: 7.297 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003801/2.898, allocations: 334.8 kB / 0.949 GB, free: 6.973 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7.32e-07/2.898, allocations: 4 kB / 0.949 GB, free: 6.969 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.006026/2.904, allocations: 2.42 MB / 0.9514 GB, free: 4.547 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (27): * Single equations (assignments): 24 * 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 {(5,17), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01038/2.914, allocations: 2.904 MB / 0.9542 GB, free: 2 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002716/2.917, allocations: 0.7892 MB / 0.955 GB, free: 1.246 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/2.917, allocations: 0 / 0.955 GB, free: 1.246 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001322/2.918, allocations: 384 kB / 0.9553 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00063/2.919, allocations: 94.27 kB / 0.9554 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1724/3.091, allocations: 2.285 MB / 0.9577 GB, free: 436 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/3.092, allocations: 0.9208 MB / 0.9586 GB, free: 435.3 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0005601/3.092, allocations: 100.1 kB / 0.9587 GB, free: 435.3 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/3.092, allocations: 54.58 kB / 0.9587 GB, free: 435.3 MB / 0.7917 GB Notification: Performance of SimCode: time 9.42e-07/3.092, allocations: 1.938 kB / 0.9587 GB, free: 435.3 MB / 0.7917 GB Notification: Performance of Templates: time 0.07808/3.17, allocations: 71.82 MB / 1.029 GB, free: 393.1 MB / 0.7917 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe 2>&1)