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.9163/0.9163, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.53e-05/1.524e-05, allocations: 0 / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.186, allocations: 31.98 MB / 236.8 MB, free: 5.449 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_2): time 1.738/1.924, allocations: 294 MB / 0.5184 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2052/2.129, allocations: 186.6 MB / 0.7006 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000509/2.13, allocations: 7.938 kB / 0.7006 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002312/2.13, allocations: 39.64 kB / 0.7007 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006913/2.13, allocations: 137.1 kB / 0.7008 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.4223/2.553, allocations: 8.992 MB / 0.7096 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000978/2.554, allocations: 0.566 MB / 0.7101 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004313/2.554, allocations: 280.3 kB / 0.7104 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004164/2.555, allocations: 222.9 kB / 0.7106 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/2.555, allocations: 239 kB / 0.7108 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.453e-05/2.555, allocations: 19.72 kB / 0.7109 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03371/2.589, allocations: 16.82 MB / 0.7273 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003672/2.589, allocations: 196 kB / 0.7275 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004793/2.59, allocations: 365.5 kB / 0.7278 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02992/2.62, allocations: 8.971 MB / 0.7366 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/2.62, allocations: 0 / 0.7366 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.998e-06/2.62, allocations: 2.938 kB / 0.7366 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.37e-05/2.62, allocations: 0 / 0.7366 GB, free: 2.875 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.009726/2.629, allocations: 2.012 MB / 0.7386 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.368e-05/2.629, allocations: 11.59 kB / 0.7386 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002873/2.63, allocations: 115.7 kB / 0.7387 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007526/2.631, allocations: 495.9 kB / 0.7392 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.25e-05/2.631, allocations: 35.5 kB / 0.7392 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-05/2.631, allocations: 43.59 kB / 0.7392 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/2.632, allocations: 0.7053 MB / 0.7399 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/2.632, allocations: 6.438 kB / 0.7399 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.228e-05/2.632, allocations: 19.69 kB / 0.7399 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/2.632, allocations: 11.5 kB / 0.74 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/2.634, allocations: 0.728 MB / 0.7407 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1149/2.749, allocations: 33.6 MB / 0.7735 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/2.751, allocations: 0.8651 MB / 0.7743 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007133/2.752, allocations: 287.7 kB / 0.7746 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2563/3.008, allocations: 111.5 MB / 0.8835 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/3.009, allocations: 34.56 kB / 0.8835 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=29): time 2.875e-06/3.009, allocations: 0 / 0.8835 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=29): time 0.004381/3.013, allocations: 1.572 MB / 0.885 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/3.013, allocations: 51.41 kB / 0.8851 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/3.014, allocations: 0.898 MB / 0.886 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/3.014, allocations: 29.2 kB / 0.886 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/3.015, allocations: 450.4 kB / 0.8864 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.194e-05/3.015, allocations: 111.8 kB / 0.8865 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.719e-05/3.015, allocations: 40.39 kB / 0.8866 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001021/3.015, allocations: 325.3 kB / 0.8869 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004616/3.015, allocations: 276.2 kB / 0.8871 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005274/3.016, allocations: 415.8 kB / 0.8875 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009922/3.017, allocations: 0.6844 MB / 0.8882 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/3.017, allocations: 0 / 0.8882 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001752/3.019, allocations: 0.9701 MB / 0.8891 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/3.019, allocations: 11.94 kB / 0.8892 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/3.019, allocations: 4 kB / 0.8892 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004331/3.023, allocations: 0.7418 MB / 0.8899 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/3.023, allocations: 81.45 kB / 0.89 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/3.025, allocations: 1.184 MB / 0.8911 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004336/3.025, allocations: 58.98 kB / 0.8912 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/3.025, allocations: 27.86 kB / 0.8912 GB, free: 8.18 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.0003429/3.026, allocations: 268.2 kB / 0.8915 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/3.026, allocations: 86.88 kB / 0.8915 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/3.027, allocations: 0.9175 MB / 0.8924 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/3.027, allocations: 7.938 kB / 0.8924 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/3.027, allocations: 0 / 0.8924 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/3.027, allocations: 5.953 kB / 0.8924 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/3.03, allocations: 1.607 MB / 0.894 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/3.03, allocations: 0 / 0.894 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/3.03, allocations: 38.89 kB / 0.8941 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002941/3.033, allocations: 0.6065 MB / 0.8946 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/3.033, allocations: 11.67 kB / 0.8947 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001267/3.034, allocations: 1.202 MB / 0.8958 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/3.034, allocations: 3.938 kB / 0.8958 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/3.036, allocations: 0.9471 MB / 0.8968 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/3.036, allocations: 174.8 kB / 0.8969 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.363e-05/3.036, allocations: 11.75 kB / 0.8969 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/3.036, allocations: 23.36 kB / 0.897 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.593e-05/3.036, allocations: 27.95 kB / 0.897 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/3.036, allocations: 7.562 kB / 0.897 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007395/3.037, allocations: 0.6108 MB / 0.8976 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/3.037, allocations: 1.859 kB / 0.8976 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00477/3.042, allocations: 1.331 MB / 0.8989 GB, free: 1.348 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.008504/3.05, allocations: 1.969 MB / 0.9008 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001398/3.052, allocations: 0.6621 MB / 0.9015 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/3.052, allocations: 0 / 0.9015 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006125/3.053, allocations: 344 kB / 0.9018 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007152/3.053, allocations: 90.05 kB / 0.9019 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/3.056, allocations: 1.939 MB / 0.9038 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006122/3.057, allocations: 1.01 MB / 0.9048 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002205/3.057, allocations: 51.2 kB / 0.9048 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/3.057, allocations: 27.44 kB / 0.9048 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of SimCode: time 2.6e-07/3.057, allocations: 0 / 0.9048 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of Templates: time 0.0629/3.12, allocations: 43.82 MB / 0.9476 GB, free: 220 kB / 0.7794 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: