Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.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_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8774/0.8774, allocations: 150.8 MB / 166.1 MB, free: 15.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.747e-05/1.757e-05, allocations: 4 kB / 204.8 MB, free: 10.04 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1979, allocations: 31.98 MB / 236.8 MB, free: 5.426 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.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1): time 1.746/1.944, allocations: 294 MB / 0.5184 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2206/2.165, allocations: 186.6 MB / 0.7006 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004825/2.166, allocations: 4 kB / 0.7006 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002038/2.166, allocations: 43.56 kB / 0.7007 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006618/2.167, allocations: 145 kB / 0.7008 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.3884/2.555, allocations: 8.979 MB / 0.7096 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009668/2.556, allocations: 0.5696 MB / 0.7101 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004833/2.556, allocations: 287.5 kB / 0.7104 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004069/2.557, allocations: 216.2 kB / 0.7106 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002967/2.557, allocations: 240.5 kB / 0.7108 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.616e-05/2.557, allocations: 21.78 kB / 0.7109 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0332/2.59, allocations: 16.82 MB / 0.7273 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003284/2.591, allocations: 194.9 kB / 0.7275 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004796/2.591, allocations: 364.2 kB / 0.7278 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02694/2.618, allocations: 8.976 MB / 0.7366 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/2.618, allocations: 0.7812 kB / 0.7366 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.095e-06/2.618, allocations: 0 / 0.7366 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.101e-05/2.618, allocations: 2.781 kB / 0.7366 GB, free: 3.051 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.006022/2.624, allocations: 2.004 MB / 0.7385 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/2.624, allocations: 8.031 kB / 0.7386 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/2.625, allocations: 114.2 kB / 0.7387 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/2.625, allocations: 0.4928 MB / 0.7391 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/2.625, allocations: 35.94 kB / 0.7392 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.781e-05/2.625, allocations: 50.44 kB / 0.7392 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009552/2.626, allocations: 0.6997 MB / 0.7399 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/2.626, allocations: 0 / 0.7399 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.121e-05/2.626, allocations: 25.84 kB / 0.7399 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/2.626, allocations: 12.5 kB / 0.7399 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/2.627, allocations: 0.7339 MB / 0.7407 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07978/2.707, allocations: 33.6 MB / 0.7735 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/2.709, allocations: 0.8691 MB / 0.7743 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004915/2.709, allocations: 288 kB / 0.7746 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2434/2.953, allocations: 111.5 MB / 0.8835 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.725e-05/2.953, allocations: 35.94 kB / 0.8835 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=29): time 3.076e-06/2.953, allocations: 0 / 0.8835 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=29): time 0.0048/2.957, allocations: 1.571 MB / 0.885 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/2.958, allocations: 55.41 kB / 0.8851 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/2.959, allocations: 0.8912 MB / 0.886 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/2.959, allocations: 33.45 kB / 0.886 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004745/2.96, allocations: 449.7 kB / 0.8864 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/2.96, allocations: 105.2 kB / 0.8865 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/2.96, allocations: 40.95 kB / 0.8866 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001642/2.96, allocations: 321.3 kB / 0.8869 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005282/2.961, allocations: 286.9 kB / 0.8871 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006409/2.962, allocations: 406.4 kB / 0.8875 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/2.963, allocations: 0.6871 MB / 0.8882 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.133e-05/2.963, allocations: 4 kB / 0.8882 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001935/2.965, allocations: 0.9724 MB / 0.8892 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/2.965, allocations: 7.938 kB / 0.8892 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/2.965, allocations: 4 kB / 0.8892 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004318/2.969, allocations: 0.7418 MB / 0.8899 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/2.969, allocations: 77.58 kB / 0.89 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/2.971, allocations: 1.182 MB / 0.8911 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004843/2.971, allocations: 78.84 kB / 0.8912 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/2.971, allocations: 19.69 kB / 0.8912 GB, free: 8.348 MB / 0.7325 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.0003945/2.972, allocations: 267.4 kB / 0.8915 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/2.972, allocations: 86.88 kB / 0.8915 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/2.974, allocations: 0.924 MB / 0.8925 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/2.974, allocations: 3.938 kB / 0.8925 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/2.974, allocations: 7.984 kB / 0.8925 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/2.974, allocations: 0 / 0.8925 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/2.976, allocations: 1.608 MB / 0.894 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/2.976, allocations: 0 / 0.894 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/2.976, allocations: 43.59 kB / 0.8941 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002937/2.979, allocations: 0.5955 MB / 0.8947 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/2.979, allocations: 11.75 kB / 0.8947 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/2.981, allocations: 1.194 MB / 0.8958 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/2.981, allocations: 3.938 kB / 0.8958 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/2.982, allocations: 0.9505 MB / 0.8968 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002288/2.983, allocations: 174.9 kB / 0.8969 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.318e-05/2.983, allocations: 11.62 kB / 0.8969 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/2.983, allocations: 31.66 kB / 0.897 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/2.983, allocations: 23.66 kB / 0.897 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/2.983, allocations: 7.984 kB / 0.897 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007637/2.984, allocations: 0.6145 MB / 0.8976 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.533e-06/2.984, allocations: 0 / 0.8976 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004361/2.988, allocations: 1.327 MB / 0.8989 GB, free: 1.516 MB / 0.7325 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.006216/2.994, allocations: 1.975 MB / 0.9008 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001412/2.996, allocations: 0.6661 MB / 0.9015 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/2.996, allocations: 0 / 0.9015 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005939/2.996, allocations: 334.6 kB / 0.9018 GB, free: 15 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006736/2.997, allocations: 91.89 kB / 0.9019 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/3, allocations: 1.936 MB / 0.9038 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006213/3.001, allocations: 1.006 MB / 0.9048 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002217/3.001, allocations: 49.17 kB / 0.9048 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.111e-05/3.001, allocations: 27.44 kB / 0.9048 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of SimCode: time 3.9e-07/3.001, allocations: 0 / 0.9048 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of Templates: time 0.0599/3.061, allocations: 43.83 MB / 0.9476 GB, free: 392 kB / 0.7794 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe 2>&1) Environment - environmentSimulation: