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 1.065/1.065, allocations: 150.8 MB / 166.1 MB, free: 15.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.043e-05/2.044e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2447, allocations: 31.99 MB / 236.8 MB, free: 5.41 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1): time 2.102/2.347, allocations: 295.4 MB / 0.5197 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7458/3.093, allocations: 187.1 MB / 0.7024 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/3.094, allocations: 11.22 kB / 0.7024 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002824/3.094, allocations: 69.83 kB / 0.7024 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001005/3.095, allocations: 285.2 kB / 0.7027 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03683/3.132, allocations: 9.173 MB / 0.7117 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002034/3.134, allocations: 1.096 MB / 0.7127 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006617/3.135, allocations: 0.5108 MB / 0.7132 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005644/3.135, allocations: 429.4 kB / 0.7137 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005604/3.136, allocations: 465.4 kB / 0.7141 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.585e-05/3.136, allocations: 38.28 kB / 0.7141 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0426/3.179, allocations: 16.83 MB / 0.7306 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006301/3.179, allocations: 388 kB / 0.7309 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001105/3.181, allocations: 0.6785 MB / 0.7316 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03516/3.216, allocations: 9.662 MB / 0.741 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/3.216, allocations: 3.5 kB / 0.741 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.997e-06/3.216, allocations: 0 / 0.741 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.28e-05/3.216, allocations: 0 / 0.741 GB, free: 0.6094 MB / 0.5762 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.009201/3.225, allocations: 2.703 MB / 0.7437 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/3.225, allocations: 15.97 kB / 0.7437 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003457/3.225, allocations: 217.4 kB / 0.7439 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009902/3.226, allocations: 0.8051 MB / 0.7447 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.127e-05/3.227, allocations: 74.67 kB / 0.7448 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/3.227, allocations: 91.06 kB / 0.7449 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/3.229, allocations: 1.334 MB / 0.7462 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/3.229, allocations: 6.219 kB / 0.7462 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.45e-05/3.229, allocations: 38.81 kB / 0.7462 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/3.229, allocations: 26.31 kB / 0.7462 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002166/3.231, allocations: 1.414 MB / 0.7476 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1631/3.394, allocations: 67.04 MB / 0.8131 GB, free: 196 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/3.397, allocations: 1.676 MB / 0.8147 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007874/3.397, allocations: 0.5204 MB / 0.8152 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2386/3.636, allocations: 111.5 MB / 0.9241 GB, free: 5.094 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/3.636, allocations: 34.44 kB / 0.9241 GB, free: 5.055 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=53): time 5.461e-06/3.636, allocations: 4 kB / 0.9241 GB, free: 5.051 MB / 0.7637 GB Notification: Performance of matching and sorting (n=53): time 0.007977/3.644, allocations: 2.98 MB / 0.927 GB, free: 2.391 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/3.644, allocations: 85.11 kB / 0.9271 GB, free: 2.289 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/3.647, allocations: 1.708 MB / 0.9288 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.178e-05/3.647, allocations: 36.27 kB / 0.9288 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007731/3.648, allocations: 0.8655 MB / 0.9297 GB, free: 488 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/3.648, allocations: 187.4 kB / 0.9298 GB, free: 328 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.905e-05/3.648, allocations: 81.11 kB / 0.9299 GB, free: 272 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001635/3.648, allocations: 328.3 kB / 0.9302 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008166/3.649, allocations: 0.5328 MB / 0.9308 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/3.65, allocations: 0.7757 MB / 0.9315 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/3.652, allocations: 1.319 MB / 0.9328 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/3.652, allocations: 4 kB / 0.9328 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003157/3.655, allocations: 1.875 MB / 0.9346 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/3.655, allocations: 8 kB / 0.9346 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/3.655, allocations: 8 kB / 0.9347 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008146/3.663, allocations: 1.503 MB / 0.9361 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004696/3.664, allocations: 140.8 kB / 0.9363 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002577/3.666, allocations: 2.379 MB / 0.9386 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000756/3.667, allocations: 124.8 kB / 0.9387 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/3.667, allocations: 41.98 kB / 0.9387 GB, free: 8.34 MB / 0.7794 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.0006213/3.668, allocations: 414.7 kB / 0.9391 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/3.668, allocations: 177.8 kB / 0.9393 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002865/3.671, allocations: 1.74 MB / 0.941 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/3.671, allocations: 4 kB / 0.941 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/3.671, allocations: 0 / 0.941 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/3.671, allocations: 7.984 kB / 0.941 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004148/3.675, allocations: 3.002 MB / 0.9439 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/3.675, allocations: 0 / 0.9439 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/3.675, allocations: 60.62 kB / 0.944 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005626/3.681, allocations: 1.21 MB / 0.9452 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.712e-05/3.681, allocations: 11.56 kB / 0.9452 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002583/3.684, allocations: 2.388 MB / 0.9475 GB, free: 0.7578 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/3.684, allocations: 2.906 kB / 0.9475 GB, free: 0.7578 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002748/3.686, allocations: 1.801 MB / 0.9493 GB, free: 14.98 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003661/3.687, allocations: 282.6 kB / 0.9496 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/3.687, allocations: 8 kB / 0.9496 GB, free: 14.67 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004647/3.687, allocations: 43.72 kB / 0.9496 GB, free: 14.63 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/3.687, allocations: 38.8 kB / 0.9496 GB, free: 14.6 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/3.688, allocations: 19.98 kB / 0.9497 GB, free: 14.58 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001484/3.689, allocations: 1.151 MB / 0.9508 GB, free: 13.41 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/3.689, allocations: 0 / 0.9508 GB, free: 13.41 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005179/3.694, allocations: 1.444 MB / 0.9522 GB, free: 11.96 MB / 0.795 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.005427/3.7, allocations: 1.974 MB / 0.9541 GB, free: 10.23 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002282/3.702, allocations: 1.263 MB / 0.9554 GB, free: 8.992 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/3.702, allocations: 4.188 kB / 0.9554 GB, free: 8.988 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/3.703, allocations: 0.6263 MB / 0.956 GB, free: 8.367 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/3.704, allocations: 182.9 kB / 0.9562 GB, free: 8.188 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005028/3.709, allocations: 3.631 MB / 0.9597 GB, free: 4.527 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009661/3.71, allocations: 1.319 MB / 0.961 GB, free: 3.184 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003963/3.711, allocations: 97.97 kB / 0.9611 GB, free: 3.086 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/3.711, allocations: 51.38 kB / 0.9611 GB, free: 3.035 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/3.711, allocations: 0 / 0.9611 GB, free: 3.035 MB / 0.795 GB Notification: Performance of Templates: time 0.3008/4.011, allocations: 48.78 MB / 1.009 GB, free: 451.2 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: