Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.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_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9261/0.9261, allocations: 150.8 MB / 166.1 MB, free: 15.42 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.648e-05/1.644e-05, allocations: 0 / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1944, allocations: 31.98 MB / 236.8 MB, free: 5.461 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_3): time 1.718/1.912, allocations: 294.6 MB / 0.5189 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6381/2.55, allocations: 193.1 MB / 0.7074 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005793/2.551, allocations: 9.906 kB / 0.7075 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001831/2.551, allocations: 49.75 kB / 0.7075 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006892/2.552, allocations: 201.2 kB / 0.7077 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.04173/2.593, allocations: 10.57 MB / 0.718 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001566/2.595, allocations: 0.7849 MB / 0.7188 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005182/2.596, allocations: 363.3 kB / 0.7191 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000441/2.596, allocations: 290.5 kB / 0.7194 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004062/2.596, allocations: 335.9 kB / 0.7197 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.008e-05/2.597, allocations: 30.06 kB / 0.7198 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05183/2.648, allocations: 22.67 MB / 0.7419 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005113/2.649, allocations: 240.8 kB / 0.7421 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000753/2.65, allocations: 454.8 kB / 0.7426 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.04118/2.691, allocations: 11.96 MB / 0.7542 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/2.691, allocations: 0 / 0.7542 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.386e-06/2.691, allocations: 3.156 kB / 0.7543 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.439e-05/2.691, allocations: 4 kB / 0.7543 GB, free: 13.24 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.008907/2.7, allocations: 2.615 MB / 0.7568 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/2.7, allocations: 7.812 kB / 0.7568 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/2.7, allocations: 130.3 kB / 0.7569 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006856/2.701, allocations: 0.562 MB / 0.7575 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.086e-05/2.701, allocations: 49.56 kB / 0.7575 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.736e-05/2.701, allocations: 63.33 kB / 0.7576 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/2.702, allocations: 0.8626 MB / 0.7584 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/2.702, allocations: 2.625 kB / 0.7584 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.275e-05/2.703, allocations: 27.94 kB / 0.7585 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/2.703, allocations: 17.59 kB / 0.7585 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/2.704, allocations: 0.9177 MB / 0.7594 GB, free: 10.61 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.01152/2.716, allocations: 8.103 MB / 0.7673 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/2.717, allocations: 0.985 MB / 0.7683 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005286/2.718, allocations: 342.1 kB / 0.7686 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6985/3.416, allocations: 223.9 MB / 0.9872 GB, free: 449 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/3.416, allocations: 41.81 kB / 0.9872 GB, free: 448.9 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=40): time 2.395e-06/3.416, allocations: 0 / 0.9872 GB, free: 448.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=40): time 0.004688/3.421, allocations: 1.668 MB / 0.9889 GB, free: 448.8 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/3.421, allocations: 55.53 kB / 0.9889 GB, free: 448.7 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/3.422, allocations: 0.9632 MB / 0.9899 GB, free: 448.6 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/3.422, allocations: 35.55 kB / 0.9899 GB, free: 448.5 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/3.423, allocations: 0.517 MB / 0.9904 GB, free: 448.4 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/3.423, allocations: 145.5 kB / 0.9905 GB, free: 448.3 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.362e-05/3.423, allocations: 53.66 kB / 0.9906 GB, free: 448.3 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 6.966e-05/3.423, allocations: 326.5 kB / 0.9909 GB, free: 448 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005062/3.423, allocations: 329.9 kB / 0.9912 GB, free: 448 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005459/3.424, allocations: 444.6 kB / 0.9916 GB, free: 447.9 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/3.425, allocations: 0.7731 MB / 0.9924 GB, free: 447.7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/3.425, allocations: 4 kB / 0.9924 GB, free: 447.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001986/3.427, allocations: 1.139 MB / 0.9935 GB, free: 447.6 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/3.427, allocations: 7.719 kB / 0.9935 GB, free: 447.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/3.427, allocations: 3.938 kB / 0.9935 GB, free: 447.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006213/3.433, allocations: 1.109 MB / 0.9946 GB, free: 447.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/3.434, allocations: 82.41 kB / 0.9947 GB, free: 447.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/3.435, allocations: 1.312 MB / 0.996 GB, free: 447.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005523/3.436, allocations: 76.86 kB / 0.996 GB, free: 447 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/3.436, allocations: 28.34 kB / 0.9961 GB, free: 447 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 (sourceP.C.ftype,centrifugalPump.fluid,sinkP.fluid,lumpedStraightPipe.fluid,sourceP.fluid1,sourceP.C.diff_on_2,lumpedStraightPipe.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * 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 {(3,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003928/3.436, allocations: 284.6 kB / 0.9963 GB, free: 446.9 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/3.436, allocations: 101.7 kB / 0.9964 GB, free: 446.9 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/3.438, allocations: 1.096 MB / 0.9975 GB, free: 446.8 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/3.438, allocations: 3.469 kB / 0.9975 GB, free: 446.8 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/3.438, allocations: 7.312 kB / 0.9975 GB, free: 446.8 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/3.438, allocations: 4.922 kB / 0.9975 GB, free: 446.8 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002496/3.441, allocations: 1.868 MB / 0.9993 GB, free: 446.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/3.441, allocations: 6.406 kB / 0.9993 GB, free: 446.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003005/3.441, allocations: 59.84 kB / 0.9994 GB, free: 446.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002819/3.444, allocations: 0.6066 MB / 1 GB, free: 446.4 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/3.444, allocations: 19.89 kB / 1 GB, free: 446.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/3.445, allocations: 1.213 MB / 1.001 GB, free: 445.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/3.445, allocations: 0 / 1.001 GB, free: 445.9 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/3.447, allocations: 1.513 MB / 1.003 GB, free: 445.7 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/3.448, allocations: 212.1 kB / 1.003 GB, free: 445.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.271e-05/3.448, allocations: 6.156 kB / 1.003 GB, free: 445.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003107/3.448, allocations: 30.03 kB / 1.003 GB, free: 445.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.455e-05/3.448, allocations: 29.81 kB / 1.003 GB, free: 445.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/3.448, allocations: 16.03 kB / 1.003 GB, free: 445.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000765/3.449, allocations: 0.6554 MB / 1.004 GB, free: 445.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/3.449, allocations: 0 / 1.004 GB, free: 445.4 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00575/3.455, allocations: 1.927 MB / 1.005 GB, free: 445.3 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (lumpedStraightPipe.Q) * 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 (26): * Single equations (assignments): 25 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01086/3.466, allocations: 2.953 MB / 1.008 GB, free: 445.1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001817/3.468, allocations: 0.7806 MB / 1.009 GB, free: 445.1 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/3.468, allocations: 4.188 kB / 1.009 GB, free: 445.1 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006608/3.468, allocations: 390.1 kB / 1.009 GB, free: 445.1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009345/3.469, allocations: 118 kB / 1.01 GB, free: 445 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/3.472, allocations: 2.285 MB / 1.012 GB, free: 443.9 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/3.473, allocations: 1.056 MB / 1.013 GB, free: 443.2 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003471/3.473, allocations: 83.36 kB / 1.013 GB, free: 443.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/3.473, allocations: 43.89 kB / 1.013 GB, free: 443.2 MB / 0.8106 GB Notification: Performance of SimCode: time 9.21e-07/3.473, allocations: 0 / 1.013 GB, free: 443.2 MB / 0.8106 GB Notification: Performance of Templates: time 0.07335/3.547, allocations: 57.02 MB / 1.069 GB, free: 395.9 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.pipe 2>&1) Environment - environmentSimulation: