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.8282/0.8282, allocations: 150.9 MB / 166 MB, free: 14.67 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002867/0.0002866, allocations: 7.984 kB / 204 MB, free: 10.14 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1609, allocations: 31.33 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.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump): time 1.583/1.744, allocations: 294 MB / 0.5169 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1891/1.934, allocations: 184.9 MB / 0.6975 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007354/1.934, allocations: 11.94 kB / 0.6975 GB, free: 4.941 MB / 0.5762 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.0004615/1.935, allocations: 68.59 kB / 0.6976 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009961/1.936, allocations: 202.4 kB / 0.6978 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02832/1.964, allocations: 8.169 MB / 0.7057 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001423/1.966, allocations: 0.9832 MB / 0.7067 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006778/1.966, allocations: 444.4 kB / 0.7071 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000602/1.967, allocations: 382.7 kB / 0.7075 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006241/1.968, allocations: 454.1 kB / 0.7079 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000162/1.968, allocations: 60 kB / 0.708 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.323/2.291, allocations: 16.83 MB / 0.7244 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002864/2.291, allocations: 185.5 kB / 0.7246 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005213/2.292, allocations: 415.5 kB / 0.725 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01893/2.311, allocations: 9.175 MB / 0.734 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/2.311, allocations: 0 / 0.734 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.483e-06/2.311, allocations: 0 / 0.734 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.045e-05/2.311, allocations: 2.625 kB / 0.734 GB, free: 14.66 MB / 0.5919 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.006178/2.317, allocations: 2.234 MB / 0.7361 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/2.317, allocations: 10.97 kB / 0.7362 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/2.317, allocations: 93.25 kB / 0.7362 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004818/2.317, allocations: 456.2 kB / 0.7367 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.623e-05/2.318, allocations: 88.05 kB / 0.7368 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/2.318, allocations: 84.95 kB / 0.7368 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/2.319, allocations: 1.028 MB / 0.7378 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/2.32, allocations: 5.531 kB / 0.7378 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.335e-05/2.32, allocations: 32.97 kB / 0.7379 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/2.32, allocations: 22.34 kB / 0.7379 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/2.322, allocations: 0.9241 MB / 0.7388 GB, free: 12.96 MB / 0.5919 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.003662/2.325, allocations: 5.35 MB / 0.744 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/2.328, allocations: 0.7237 MB / 0.7447 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007833/2.329, allocations: 288 kB / 0.745 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3391/2.668, allocations: 180.4 MB / 0.9212 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/2.669, allocations: 387.5 kB / 0.9215 GB, free: 12.65 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=43): time 1.834e-06/2.669, allocations: 0 / 0.9215 GB, free: 12.65 MB / 0.7637 GB Notification: Performance of matching and sorting (n=43): time 0.0089/2.678, allocations: 1.969 MB / 0.9235 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.068e-05/2.678, allocations: 165.8 kB / 0.9236 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005716/2.678, allocations: 0.5249 MB / 0.9241 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/2.678, allocations: 36.7 kB / 0.9242 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/2.679, allocations: 429 kB / 0.9246 GB, free: 9.855 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/2.679, allocations: 150 kB / 0.9247 GB, free: 9.73 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/2.679, allocations: 181.9 kB / 0.9249 GB, free: 9.613 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001313/2.679, allocations: 367.1 kB / 0.9252 GB, free: 9.27 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008526/2.68, allocations: 286 kB / 0.9255 GB, free: 9.059 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/2.681, allocations: 0.6674 MB / 0.9262 GB, free: 8.305 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007621/2.689, allocations: 2.033 MB / 0.9281 GB, free: 6.445 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/2.689, allocations: 8 kB / 0.9282 GB, free: 6.438 MB / 0.7637 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003866/2.693, allocations: 1.274 MB / 0.9294 GB, free: 5.465 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/2.693, allocations: 12.16 kB / 0.9294 GB, free: 5.453 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/2.693, allocations: 16 kB / 0.9294 GB, free: 5.438 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002777/2.696, allocations: 0.5071 MB / 0.9299 GB, free: 4.973 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009096/2.697, allocations: 223.4 kB / 0.9301 GB, free: 4.777 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/2.698, allocations: 1.399 MB / 0.9315 GB, free: 3.457 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008128/2.699, allocations: 144.8 kB / 0.9316 GB, free: 3.328 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.286e-05/2.699, allocations: 50.98 kB / 0.9317 GB, free: 3.285 MB / 0.7637 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.000375/2.699, allocations: 227.8 kB / 0.9319 GB, free: 3.117 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/2.699, allocations: 63.25 kB / 0.932 GB, free: 3.055 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/2.702, allocations: 0.8784 MB / 0.9328 GB, free: 2.383 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/2.702, allocations: 11.94 kB / 0.9328 GB, free: 2.371 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/2.702, allocations: 0 / 0.9328 GB, free: 2.371 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/2.702, allocations: 0 / 0.9328 GB, free: 2.371 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009587/2.703, allocations: 0.8461 MB / 0.9337 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/2.703, allocations: 3.938 kB / 0.9337 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007606/2.704, allocations: 135.2 kB / 0.9338 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001788/2.706, allocations: 372.3 kB / 0.9341 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.34e-05/2.706, allocations: 14.86 kB / 0.9342 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001384/2.707, allocations: 1.386 MB / 0.9355 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/2.707, allocations: 8 kB / 0.9355 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004141/2.711, allocations: 1.252 MB / 0.9367 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002691/2.711, allocations: 182.2 kB / 0.9369 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.993e-05/2.712, allocations: 15.06 kB / 0.9369 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004935/2.712, allocations: 54.81 kB / 0.937 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/2.712, allocations: 48.05 kB / 0.937 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/2.712, allocations: 15.25 kB / 0.937 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003718/2.713, allocations: 329.8 kB / 0.9374 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.052e-06/2.713, allocations: 0 / 0.9374 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003998/2.717, allocations: 1.375 MB / 0.9387 GB, free: 13.05 MB / 0.7794 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.006752/2.723, allocations: 1.969 MB / 0.9406 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00269/2.726, allocations: 0.7877 MB / 0.9414 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/2.726, allocations: 0 / 0.9414 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001274/2.727, allocations: 383.5 kB / 0.9418 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006636/2.728, allocations: 112.9 kB / 0.9419 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/2.731, allocations: 1.579 MB / 0.9434 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/2.731, allocations: 0.9129 MB / 0.9443 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004051/2.732, allocations: 81 kB / 0.9444 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/2.732, allocations: 43.42 kB / 0.9444 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of SimCode: time 6.41e-07/2.732, allocations: 0 / 0.9444 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of Templates: time 0.06057/2.793, allocations: 46.48 MB / 0.9898 GB, free: 9.668 MB / 0.8262 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)