Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.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_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8803/0.8803, allocations: 150.8 MB / 166.1 MB, free: 15.65 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.496e-05/1.496e-05, allocations: 0 / 204.8 MB, free: 10.19 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1886, allocations: 31.98 MB / 236.8 MB, free: 5.613 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_4): time 1.802/1.99, allocations: 294 MB / 0.5184 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2014/2.192, allocations: 186.6 MB / 0.7006 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003736/2.192, allocations: 7.938 kB / 0.7006 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/2.192, allocations: 39.7 kB / 0.7007 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003967/2.193, allocations: 137 kB / 0.7008 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.4342/2.627, allocations: 8.987 MB / 0.7096 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001063/2.628, allocations: 0.5822 MB / 0.7101 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004568/2.628, allocations: 284.5 kB / 0.7104 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000432/2.629, allocations: 222.5 kB / 0.7106 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003536/2.629, allocations: 252 kB / 0.7109 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.695e-05/2.629, allocations: 23.09 kB / 0.7109 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03578/2.665, allocations: 16.83 MB / 0.7273 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003867/2.666, allocations: 201.8 kB / 0.7275 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006236/2.666, allocations: 367.1 kB / 0.7279 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03004/2.696, allocations: 9.001 MB / 0.7367 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/2.696, allocations: 0 / 0.7367 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.624e-06/2.696, allocations: 0 / 0.7367 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.173e-05/2.696, allocations: 0 / 0.7367 GB, free: 3.137 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.006275/2.703, allocations: 2.034 MB / 0.7386 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/2.703, allocations: 8.344 kB / 0.7387 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/2.703, allocations: 110.7 kB / 0.7388 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004737/2.703, allocations: 0.4951 MB / 0.7392 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.139e-05/2.703, allocations: 37 kB / 0.7393 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.221e-05/2.703, allocations: 45.88 kB / 0.7393 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009453/2.704, allocations: 0.6125 MB / 0.7399 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/2.704, allocations: 2.938 kB / 0.7399 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/2.705, allocations: 18.28 kB / 0.7399 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/2.705, allocations: 12.03 kB / 0.74 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/2.706, allocations: 0.6166 MB / 0.7406 GB, free: 1.051 MB / 0.5762 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.00248/2.708, allocations: 2.346 MB / 0.7428 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/2.71, allocations: 0.6972 MB / 0.7435 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003848/2.71, allocations: 224.2 kB / 0.7437 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3072/3.017, allocations: 142.1 MB / 0.8825 GB, free: 344 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/3.017, allocations: 38.44 kB / 0.8825 GB, free: 300 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 2.746e-06/3.017, allocations: 4 kB / 0.8825 GB, free: 296 kB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.003486/3.021, allocations: 1.133 MB / 0.8836 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/3.021, allocations: 59.91 kB / 0.8837 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/3.022, allocations: 0.8986 MB / 0.8846 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/3.022, allocations: 29.39 kB / 0.8846 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003698/3.023, allocations: 481 kB / 0.885 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/3.023, allocations: 108.2 kB / 0.8851 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.948e-05/3.023, allocations: 48.44 kB / 0.8852 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001272/3.023, allocations: 325.3 kB / 0.8855 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/3.024, allocations: 237.8 kB / 0.8857 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005498/3.024, allocations: 349.1 kB / 0.8861 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009777/3.025, allocations: 0.5691 MB / 0.8866 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/3.025, allocations: 4 kB / 0.8866 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001733/3.027, allocations: 0.8915 MB / 0.8875 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/3.027, allocations: 8.25 kB / 0.8875 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/3.027, allocations: 11.98 kB / 0.8875 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004549/3.031, allocations: 0.8168 MB / 0.8883 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/3.032, allocations: 74.42 kB / 0.8884 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/3.033, allocations: 1.263 MB / 0.8896 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005377/3.034, allocations: 74.77 kB / 0.8897 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/3.034, allocations: 23.73 kB / 0.8897 GB, free: 10.05 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,centrifugalPump.fluid,sinkP.fluid,sourceP.fluid1,sourceP.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 {(3,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003845/3.034, allocations: 267 kB / 0.89 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/3.034, allocations: 90.88 kB / 0.89 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/3.036, allocations: 0.7149 MB / 0.8907 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/3.036, allocations: 4 kB / 0.8907 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/3.036, allocations: 1.75 kB / 0.8907 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/3.036, allocations: 96 / 0.8907 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008886/3.037, allocations: 0.6634 MB / 0.8914 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/3.037, allocations: 3.984 kB / 0.8914 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/3.037, allocations: 66.86 kB / 0.8915 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002609/3.04, allocations: 455.3 kB / 0.8919 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/3.04, allocations: 15.36 kB / 0.8919 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009341/3.041, allocations: 0.7405 MB / 0.8926 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/3.041, allocations: 0 / 0.8926 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/3.043, allocations: 1.041 MB / 0.8937 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002638/3.043, allocations: 183 kB / 0.8938 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.497e-05/3.043, allocations: 11.31 kB / 0.8938 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003244/3.043, allocations: 31.59 kB / 0.8939 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.172e-05/3.043, allocations: 23.78 kB / 0.8939 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/3.043, allocations: 12 kB / 0.8939 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008745/3.044, allocations: 0.6237 MB / 0.8945 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/3.044, allocations: 0 / 0.8945 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004814/3.049, allocations: 1.339 MB / 0.8958 GB, free: 4.59 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (centrifugalPump.w) * 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 (21): * Single equations (assignments): 20 * 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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01001/3.059, allocations: 1.996 MB / 0.8978 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001365/3.061, allocations: 0.5634 MB / 0.8983 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/3.061, allocations: 0 / 0.8983 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007707/3.061, allocations: 317.5 kB / 0.8986 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000658/3.062, allocations: 90.25 kB / 0.8987 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00302/3.065, allocations: 1.92 MB / 0.9006 GB, free: 292 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006937/3.066, allocations: 1.003 MB / 0.9016 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000276/3.066, allocations: 55.3 kB / 0.9016 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.784e-05/3.066, allocations: 35.42 kB / 0.9016 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of SimCode: time 6.51e-07/3.066, allocations: 0 / 0.9016 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of Templates: time 0.06898/3.135, allocations: 44.35 MB / 0.945 GB, free: 3.016 MB / 0.7794 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe 2>&1) Environment - environmentSimulation: