Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.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.TestCentrifugalPump.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9064/0.9064, allocations: 150.8 MB / 166.6 MB, free: 11.16 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002875, allocations: 15.97 kB / 204.7 MB, free: 6.148 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1448, allocations: 31.33 MB / 236 MB, free: 3.91 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.TestCentrifugalPump.Scenario_2): time 1.572/1.716, allocations: 292.4 MB / 0.516 GB, free: 9.336 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.531/2.247, allocations: 188.9 MB / 0.7005 GB, free: 1.941 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004598/2.248, allocations: 8.484 kB / 0.7005 GB, free: 1.941 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). Notification: Performance of NFTyping.typeComponents: time 0.0001911/2.248, allocations: 36.5 kB / 0.7005 GB, free: 1.941 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004007/2.249, allocations: 147.9 kB / 0.7006 GB, free: 1.938 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.03232/2.281, allocations: 8.82 MB / 0.7093 GB, free: 1.719 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001161/2.282, allocations: 0.5688 MB / 0.7098 GB, free: 1.715 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006079/2.283, allocations: 311.1 kB / 0.7101 GB, free: 1.672 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005567/2.283, allocations: 244 kB / 0.7103 GB, free: 1.672 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004531/2.284, allocations: 273.1 kB / 0.7106 GB, free: 1.66 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001139/2.284, allocations: 31.78 kB / 0.7106 GB, free: 1.66 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03342/2.317, allocations: 16.76 MB / 0.727 GB, free: 15.47 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003805/2.318, allocations: 217.8 kB / 0.7272 GB, free: 15.42 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004973/2.318, allocations: 361.2 kB / 0.7275 GB, free: 15.4 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.02141/2.34, allocations: 9.062 MB / 0.7364 GB, free: 12.08 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/2.34, allocations: 0 / 0.7364 GB, free: 12.08 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.472e-06/2.34, allocations: 1.203 kB / 0.7364 GB, free: 12.08 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.918e-06/2.34, allocations: 0 / 0.7364 GB, free: 12.08 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.00512/2.345, allocations: 2.145 MB / 0.7385 GB, free: 10.7 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/2.345, allocations: 10.62 kB / 0.7385 GB, free: 10.7 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/2.345, allocations: 107.5 kB / 0.7386 GB, free: 10.64 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005346/2.346, allocations: 0.4932 MB / 0.7391 GB, free: 10.26 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/2.346, allocations: 34.84 kB / 0.7391 GB, free: 10.26 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.458e-05/2.346, allocations: 53.91 kB / 0.7392 GB, free: 10.26 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/2.347, allocations: 0.6931 MB / 0.7398 GB, free: 10.01 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/2.347, allocations: 5.203 kB / 0.7399 GB, free: 10 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.393e-05/2.347, allocations: 22.31 kB / 0.7399 GB, free: 10 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/2.347, allocations: 12.25 kB / 0.7399 GB, free: 10 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/2.348, allocations: 0.7014 MB / 0.7406 GB, free: 9.902 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07664/2.425, allocations: 33.31 MB / 0.7731 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/2.426, allocations: 0.8505 MB / 0.7739 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004272/2.426, allocations: 279.8 kB / 0.7742 GB, free: 10.83 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.228/2.655, allocations: 110.5 MB / 0.8821 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/2.655, allocations: 38.11 kB / 0.8822 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=29): time 3.176e-06/2.655, allocations: 0 / 0.8822 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of matching and sorting (n=29): time 0.003967/2.659, allocations: 1.462 MB / 0.8836 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/2.659, allocations: 51.41 kB / 0.8837 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/2.66, allocations: 0.89 MB / 0.8845 GB, free: 428 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/2.66, allocations: 30.42 kB / 0.8846 GB, free: 396 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/2.66, allocations: 458.2 kB / 0.885 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.788e-05/2.66, allocations: 107.5 kB / 0.8851 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/2.66, allocations: 82.11 kB / 0.8852 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001053/2.66, allocations: 326 kB / 0.8855 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004288/2.661, allocations: 264.7 kB / 0.8857 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005132/2.661, allocations: 398.2 kB / 0.8861 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008979/2.662, allocations: 0.6612 MB / 0.8868 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/2.662, allocations: 9.031 kB / 0.8868 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001514/2.664, allocations: 0.9363 MB / 0.8877 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/2.664, allocations: 4 kB / 0.8877 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/2.664, allocations: 4 kB / 0.8877 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004092/2.668, allocations: 0.7208 MB / 0.8884 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/2.668, allocations: 77.05 kB / 0.8885 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/2.669, allocations: 1.169 MB / 0.8896 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003791/2.67, allocations: 59.5 kB / 0.8897 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/2.67, allocations: 16 kB / 0.8897 GB, free: 11.07 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (sourcePQ.C.ftype,centrifugalPump.fluid,sink.fluid,sourcePQ.fluid1,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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0003586/2.67, allocations: 270.8 kB / 0.8899 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/2.67, allocations: 91.98 kB / 0.89 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/2.672, allocations: 0.8806 MB / 0.8909 GB, free: 9.824 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/2.672, allocations: 7.984 kB / 0.8909 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/2.672, allocations: 0 / 0.8909 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/2.672, allocations: 0 / 0.8909 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/2.674, allocations: 1.574 MB / 0.8924 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/2.674, allocations: 0 / 0.8924 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/2.674, allocations: 46.5 kB / 0.8925 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00283/2.677, allocations: 0.5754 MB / 0.893 GB, free: 7.57 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/2.677, allocations: 4 kB / 0.893 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/2.678, allocations: 1.18 MB / 0.8942 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/2.678, allocations: 0 / 0.8942 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002484/2.681, allocations: 2.08 MB / 0.8962 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000232/2.681, allocations: 187.7 kB / 0.8964 GB, free: 4.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.501e-05/2.681, allocations: 4 kB / 0.8964 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/2.682, allocations: 19.97 kB / 0.8964 GB, free: 4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/2.682, allocations: 19.92 kB / 0.8965 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/2.682, allocations: 11.98 kB / 0.8965 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006782/2.682, allocations: 0.6105 MB / 0.8971 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/2.682, allocations: 1.203 kB / 0.8971 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004023/2.686, allocations: 1.374 MB / 0.8984 GB, free: 1.973 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006912/2.693, allocations: 2.001 MB / 0.9004 GB, free: 224 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00137/2.695, allocations: 0.6456 MB / 0.901 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/2.695, allocations: 4.062 kB / 0.901 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000602/2.695, allocations: 323.4 kB / 0.9013 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006701/2.696, allocations: 96.33 kB / 0.9014 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/2.699, allocations: 2.082 MB / 0.9034 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006122/2.7, allocations: 1.008 MB / 0.9044 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002369/2.7, allocations: 55.25 kB / 0.9045 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.904e-05/2.7, allocations: 27.44 kB / 0.9045 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of SimCode: time 8.72e-07/2.7, allocations: 0 / 0.9045 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of Templates: time 0.06504/2.765, allocations: 44.69 MB / 0.9481 GB, free: 15.33 MB / 0.7917 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe 2>&1)