Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.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.SimpleExamples.TestCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.856/0.856, allocations: 150.9 MB / 166.7 MB, free: 11.16 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002804/0.0002808, allocations: 11.98 kB / 204.7 MB, free: 6.152 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2005, allocations: 31.33 MB / 236 MB, free: 3.902 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.SimpleExamples.TestCentrifugalPump1): time 1.745/1.946, allocations: 293.8 MB / 0.5174 GB, free: 8.234 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.5941/2.54, allocations: 189.3 MB / 0.7022 GB, free: 1.594 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005969/2.54, allocations: 18.12 kB / 0.7023 GB, free: 1.594 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:120:3-121: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/CentrifugalPump.mo:122:3-123: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/Machines/CentrifugalPump.mo:124:3-128:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C 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/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C 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/ElectroMechanics/BoundaryConditions/SourceAngularVelocity.mo:11:3-15:24:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C 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/CentrifugalPump.mo:120:3-121: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/CentrifugalPump.mo:122:3-123: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/Machines/CentrifugalPump.mo:124:3-128:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C 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.0003195/2.541, allocations: 76.97 kB / 0.7023 GB, free: 1.59 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0006797/2.541, allocations: 287.3 kB / 0.7026 GB, free: 1.582 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.03135/2.573, allocations: 9.006 MB / 0.7114 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00177/2.575, allocations: 1.107 MB / 0.7125 GB, free: 1.34 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006618/2.575, allocations: 0.5558 MB / 0.713 GB, free: 1.262 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006125/2.576, allocations: 469.3 kB / 0.7135 GB, free: 1.254 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005636/2.576, allocations: 0.5063 MB / 0.714 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/2.577, allocations: 63.66 kB / 0.714 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03359/2.61, allocations: 16.82 MB / 0.7304 GB, free: 14.55 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0006026/2.611, allocations: 421.7 kB / 0.7309 GB, free: 14.46 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001076/2.612, allocations: 0.6899 MB / 0.7315 GB, free: 14.43 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.02701/2.639, allocations: 9.776 MB / 0.7411 GB, free: 10.69 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 8.425e-06/2.639, allocations: 3.562 kB / 0.7411 GB, free: 10.69 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.343e-06/2.639, allocations: 0 / 0.7411 GB, free: 10.69 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.981e-05/2.639, allocations: 0 / 0.7411 GB, free: 10.69 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.008688/2.648, allocations: 2.964 MB / 0.744 GB, free: 8.809 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/2.648, allocations: 8 kB / 0.744 GB, free: 8.809 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002931/2.648, allocations: 222.8 kB / 0.7442 GB, free: 8.699 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009872/2.649, allocations: 0.8077 MB / 0.745 GB, free: 8.141 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.22e-05/2.649, allocations: 75.22 kB / 0.7451 GB, free: 8.141 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/2.649, allocations: 97.66 kB / 0.7451 GB, free: 8.137 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/2.651, allocations: 1.318 MB / 0.7464 GB, free: 7.676 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/2.651, allocations: 5 kB / 0.7464 GB, free: 7.676 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.192e-05/2.651, allocations: 41.03 kB / 0.7465 GB, free: 7.676 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/2.651, allocations: 29.06 kB / 0.7465 GB, free: 7.672 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/2.653, allocations: 1.364 MB / 0.7478 GB, free: 7.48 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1619/2.815, allocations: 66.46 MB / 0.8127 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/2.818, allocations: 1.638 MB / 0.8143 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007655/2.819, allocations: 0.5014 MB / 0.8148 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2434/3.062, allocations: 110.6 MB / 0.9228 GB, free: 7.73 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.93e-05/3.062, allocations: 41.09 kB / 0.9228 GB, free: 7.684 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=53): time 2.725e-06/3.062, allocations: 0 / 0.9228 GB, free: 7.684 MB / 0.7605 GB Notification: Performance of matching and sorting (n=53): time 0.007997/3.07, allocations: 2.78 MB / 0.9256 GB, free: 4.863 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/3.07, allocations: 81.11 kB / 0.9256 GB, free: 4.766 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003065/3.073, allocations: 1.714 MB / 0.9273 GB, free: 3.012 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.609e-05/3.074, allocations: 33.7 kB / 0.9273 GB, free: 2.973 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008514/3.074, allocations: 0.8724 MB / 0.9282 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/3.075, allocations: 190 kB / 0.9284 GB, free: 1.918 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003117/3.075, allocations: 158.5 kB / 0.9285 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001358/3.075, allocations: 341.9 kB / 0.9288 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008455/3.076, allocations: 0.5056 MB / 0.9293 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/3.077, allocations: 0.7632 MB / 0.9301 GB, free: 40 kB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/3.079, allocations: 1.295 MB / 0.9313 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/3.079, allocations: 4 kB / 0.9314 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003464/3.082, allocations: 1.823 MB / 0.9331 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/3.082, allocations: 8 kB / 0.9331 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/3.082, allocations: 8 kB / 0.9331 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008238/3.091, allocations: 1.44 MB / 0.9346 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006362/3.091, allocations: 137 kB / 0.9347 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002876/3.094, allocations: 2.336 MB / 0.937 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/3.095, allocations: 118.8 kB / 0.9371 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/3.096, allocations: 40 kB / 0.9371 GB, free: 8.754 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 12 (sourcePQ1.C.ftype,centrifugalPump1.fluid,sink1.fluid,sourcePQ1.fluid1,sourcePQ.C.ftype,centrifugalPump.fluid,sink.fluid,sourcePQ.fluid1,sourcePQ1.C.diff_on_2,centrifugalPump1.C2.diff_on_1,sourcePQ.C.diff_on_2,centrifugalPump.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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 {(2,13), (2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0009104/3.097, allocations: 416.9 kB / 0.9375 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004765/3.097, allocations: 181.7 kB / 0.9377 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003157/3.1, allocations: 1.676 MB / 0.9393 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/3.1, allocations: 4 kB / 0.9393 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/3.1, allocations: 7.938 kB / 0.9393 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/3.1, allocations: 3.984 kB / 0.9393 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005191/3.105, allocations: 2.94 MB / 0.9422 GB, free: 3.477 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/3.105, allocations: 0 / 0.9422 GB, free: 3.477 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/3.106, allocations: 58.5 kB / 0.9423 GB, free: 3.422 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0057/3.111, allocations: 1.162 MB / 0.9434 GB, free: 2.258 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-05/3.112, allocations: 8 kB / 0.9434 GB, free: 2.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002836/3.114, allocations: 2.354 MB / 0.9457 GB, free: 15.85 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/3.114, allocations: 0 / 0.9457 GB, free: 15.85 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005257/3.12, allocations: 3.417 MB / 0.949 GB, free: 12.37 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007165/3.12, allocations: 270.7 kB / 0.9493 GB, free: 12.08 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003236/3.121, allocations: 15.94 kB / 0.9493 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006757/3.122, allocations: 38.59 kB / 0.9494 GB, free: 12.03 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/3.122, allocations: 31.94 kB / 0.9494 GB, free: 12 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.989e-05/3.122, allocations: 20 kB / 0.9494 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002048/3.124, allocations: 1.151 MB / 0.9505 GB, free: 10.81 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.81e-07/3.124, allocations: 0 / 0.9505 GB, free: 10.81 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.005783/3.13, allocations: 1.495 MB / 0.952 GB, free: 9.312 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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 {(2,15), (2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009199/3.139, allocations: 2 MB / 0.9539 GB, free: 7.547 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002866/3.142, allocations: 1.235 MB / 0.9551 GB, free: 6.336 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/3.142, allocations: 0 / 0.9551 GB, free: 6.336 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/3.143, allocations: 0.613 MB / 0.9557 GB, free: 5.73 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/3.145, allocations: 176 kB / 0.9559 GB, free: 5.555 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006765/3.151, allocations: 3.835 MB / 0.9597 GB, free: 1.684 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00146/3.153, allocations: 1.339 MB / 0.961 GB, free: 328 kB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0005713/3.154, allocations: 97.97 kB / 0.9611 GB, free: 228 kB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/3.154, allocations: 43.44 kB / 0.9611 GB, free: 184 kB / 0.7917 GB Notification: Performance of SimCode: time 1.082e-06/3.154, allocations: 0 / 0.9611 GB, free: 184 kB / 0.7917 GB Notification: Performance of Templates: time 0.2823/3.436, allocations: 49.98 MB / 1.01 GB, free: 416.7 MB / 0.7917 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.pipe 2>&1)