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: "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestCentrifugalPump_Scenario_1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestCentrifugalPump_Scenario_1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7594/0.7594, allocations: 150.8 MB / 166.1 MB, free: 15.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.319e-05/1.32e-05, allocations: 0 / 204.9 MB, free: 10.09 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1295, allocations: 31.98 MB / 236.9 MB, free: 5.379 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.422/1.552, allocations: 295 MB / 0.5194 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1934/1.745, allocations: 186.6 MB / 0.7016 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002608/1.746, allocations: 11.94 kB / 0.7017 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.89e-05/1.746, allocations: 39.64 kB / 0.7017 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003466/1.746, allocations: 145 kB / 0.7018 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2863/2.032, allocations: 8.99 MB / 0.7106 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000691/2.033, allocations: 0.5692 MB / 0.7112 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003552/2.033, allocations: 279.9 kB / 0.7114 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/2.034, allocations: 216.8 kB / 0.7116 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/2.034, allocations: 246.1 kB / 0.7119 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.339e-05/2.034, allocations: 20.34 kB / 0.7119 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02521/2.059, allocations: 16.81 MB / 0.7283 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002466/2.059, allocations: 192.8 kB / 0.7285 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003643/2.06, allocations: 369.1 kB / 0.7288 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01948/2.079, allocations: 8.979 MB / 0.7376 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/2.079, allocations: 2.906 kB / 0.7376 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.976e-06/2.079, allocations: 0 / 0.7376 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.057e-05/2.079, allocations: 0 / 0.7376 GB, free: 2.844 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.004758/2.084, allocations: 1.999 MB / 0.7396 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/2.084, allocations: 11.56 kB / 0.7396 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.655e-05/2.084, allocations: 93.61 kB / 0.7397 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/2.084, allocations: 110.7 kB / 0.7398 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/2.085, allocations: 0.4896 MB / 0.7403 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/2.085, allocations: 36.56 kB / 0.7403 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.233e-05/2.085, allocations: 49.69 kB / 0.7403 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008569/2.086, allocations: 0.7008 MB / 0.741 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/2.086, allocations: 2.906 kB / 0.741 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/2.086, allocations: 25 kB / 0.7411 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/2.086, allocations: 15.09 kB / 0.7411 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009732/2.087, allocations: 0.7239 MB / 0.7418 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07066/2.157, allocations: 33.6 MB / 0.7746 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/2.159, allocations: 0.8731 MB / 0.7754 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004026/2.159, allocations: 280.4 kB / 0.7757 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2282/2.387, allocations: 111.5 MB / 0.8846 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/2.388, allocations: 42.06 kB / 0.8846 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=29): time 2.595e-06/2.388, allocations: 0 / 0.8846 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=29): time 0.004159/2.392, allocations: 1.562 MB / 0.8861 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/2.392, allocations: 55.41 kB / 0.8862 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/2.393, allocations: 0.8912 MB / 0.8871 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/2.393, allocations: 37.2 kB / 0.8871 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/2.393, allocations: 453.2 kB / 0.8875 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.712e-05/2.393, allocations: 102.9 kB / 0.8876 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.168e-05/2.393, allocations: 48.38 kB / 0.8877 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.507e-05/2.393, allocations: 317.6 kB / 0.888 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004418/2.394, allocations: 280 kB / 0.8883 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004984/2.394, allocations: 405.3 kB / 0.8886 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009143/2.395, allocations: 0.6862 MB / 0.8893 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/2.395, allocations: 8 kB / 0.8893 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001599/2.397, allocations: 0.9735 MB / 0.8903 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/2.397, allocations: 8 kB / 0.8903 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/2.397, allocations: 4 kB / 0.8903 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00418/2.401, allocations: 0.7467 MB / 0.891 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/2.401, allocations: 77.34 kB / 0.8911 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/2.403, allocations: 1.189 MB / 0.8922 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/2.403, allocations: 66.67 kB / 0.8923 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/2.403, allocations: 19.81 kB / 0.8923 GB, free: 7.992 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.0002929/2.403, allocations: 268.2 kB / 0.8926 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/2.404, allocations: 86.88 kB / 0.8927 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/2.405, allocations: 0.9266 MB / 0.8936 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/2.405, allocations: 4 kB / 0.8936 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/2.405, allocations: 0 / 0.8936 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/2.405, allocations: 2.906 kB / 0.8936 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/2.407, allocations: 1.611 MB / 0.8952 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/2.407, allocations: 0 / 0.8952 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/2.408, allocations: 47.66 kB / 0.8952 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002849/2.41, allocations: 0.5966 MB / 0.8958 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/2.41, allocations: 11.61 kB / 0.8958 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/2.412, allocations: 1.192 MB / 0.897 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/2.412, allocations: 3.938 kB / 0.897 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/2.413, allocations: 0.9545 MB / 0.8979 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/2.413, allocations: 178.8 kB / 0.8981 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.5e-05/2.413, allocations: 11.75 kB / 0.8981 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/2.414, allocations: 23.55 kB / 0.8981 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/2.414, allocations: 23.62 kB / 0.8981 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/2.414, allocations: 4 kB / 0.8981 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006486/2.414, allocations: 0.6144 MB / 0.8987 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.02e-07/2.414, allocations: 4 kB / 0.8987 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003641/2.418, allocations: 1.325 MB / 0.9 GB, free: 1.16 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.006928/2.425, allocations: 3.375 MB / 0.9033 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001174/2.426, allocations: 0.6543 MB / 0.904 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/2.426, allocations: 0 / 0.904 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005816/2.427, allocations: 349.5 kB / 0.9043 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006028/2.427, allocations: 101.3 kB / 0.9044 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/2.439, allocations: 8.672 MB / 0.9129 GB, free: 5.621 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005795/2.439, allocations: 1.001 MB / 0.9138 GB, free: 4.613 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002116/2.44, allocations: 51.27 kB / 0.9139 GB, free: 4.566 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002711/2.44, allocations: 303.1 kB / 0.9142 GB, free: 4.512 MB / 0.7481 GB Notification: Performance of SimCode: time 1.863e-06/2.44, allocations: 0 / 0.9142 GB, free: 4.512 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.401/7.841, allocations: 53.69 MB / 0.9666 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002668/7.841, allocations: 329.5 kB / 0.9669 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.851/12.69, allocations: 4.062 kB / 0.9669 GB, free: 14.82 MB / 0.8106 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestCentrifugalPump_Scenario_1_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestCentrifugalPump_Scenario_1.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe 2>&1)