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: "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestCentrifugalPump_Scenario_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestCentrifugalPump_Scenario_2",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.7389/0.7389, allocations: 150.8 MB / 166.1 MB, free: 15.45 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.477e-05/1.478e-05, allocations: 4 kB / 204.9 MB, free: 9.945 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1421, allocations: 31.98 MB / 236.9 MB, free: 5.688 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.517/1.659, allocations: 295 MB / 0.5194 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1765/1.835, allocations: 186.6 MB / 0.7017 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003422/1.836, allocations: 4 kB / 0.7017 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001456/1.836, allocations: 35.64 kB / 0.7017 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004461/1.836, allocations: 149 kB / 0.7018 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2958/2.132, allocations: 8.988 MB / 0.7106 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001024/2.133, allocations: 0.5635 MB / 0.7112 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005644/2.134, allocations: 284.5 kB / 0.7114 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004809/2.134, allocations: 222.9 kB / 0.7116 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004102/2.135, allocations: 240 kB / 0.7119 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.412e-05/2.135, allocations: 20.31 kB / 0.7119 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02616/2.161, allocations: 16.82 MB / 0.7283 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002461/2.161, allocations: 202.6 kB / 0.7285 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003653/2.161, allocations: 365 kB / 0.7289 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01779/2.179, allocations: 8.971 MB / 0.7376 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/2.179, allocations: 0 / 0.7376 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.094e-06/2.179, allocations: 0 / 0.7376 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.848e-06/2.179, allocations: 0 / 0.7376 GB, free: 2.891 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.004223/2.184, allocations: 2.011 MB / 0.7396 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/2.184, allocations: 8.438 kB / 0.7396 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.295e-05/2.184, allocations: 89.73 kB / 0.7397 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.802e-05/2.184, allocations: 111.1 kB / 0.7398 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/2.184, allocations: 0.494 MB / 0.7403 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/2.184, allocations: 35.56 kB / 0.7403 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/2.184, allocations: 44.09 kB / 0.7403 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008527/2.185, allocations: 0.7029 MB / 0.741 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/2.185, allocations: 2.906 kB / 0.741 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.963e-05/2.185, allocations: 26.72 kB / 0.7411 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/2.185, allocations: 15.56 kB / 0.7411 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009694/2.186, allocations: 0.7272 MB / 0.7418 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0663/2.252, allocations: 33.6 MB / 0.7746 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/2.254, allocations: 0.8615 MB / 0.7754 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004027/2.254, allocations: 288.2 kB / 0.7757 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2091/2.463, allocations: 111.5 MB / 0.8846 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/2.463, allocations: 35.98 kB / 0.8846 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=29): time 1.954e-06/2.463, allocations: 0 / 0.8846 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=29): time 0.003868/2.467, allocations: 1.561 MB / 0.8861 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/2.467, allocations: 54.31 kB / 0.8862 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009341/2.468, allocations: 0.8948 MB / 0.8871 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/2.468, allocations: 29.39 kB / 0.8871 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/2.468, allocations: 453.2 kB / 0.8875 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.995e-05/2.469, allocations: 103.9 kB / 0.8876 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/2.469, allocations: 44.44 kB / 0.8877 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.102e-05/2.469, allocations: 325.3 kB / 0.888 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004299/2.469, allocations: 280 kB / 0.8882 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004741/2.47, allocations: 409.3 kB / 0.8886 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008914/2.471, allocations: 0.6889 MB / 0.8893 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/2.471, allocations: 0 / 0.8893 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001519/2.472, allocations: 0.9737 MB / 0.8903 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/2.472, allocations: 13.53 kB / 0.8903 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/2.472, allocations: 4 kB / 0.8903 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003931/2.476, allocations: 0.7384 MB / 0.891 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/2.476, allocations: 81.66 kB / 0.8911 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/2.477, allocations: 1.185 MB / 0.8922 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003684/2.478, allocations: 66.73 kB / 0.8923 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/2.478, allocations: 19.94 kB / 0.8923 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.0002774/2.478, allocations: 267.2 kB / 0.8926 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.473e-05/2.478, allocations: 90.88 kB / 0.8927 GB, free: 7.871 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/2.48, allocations: 0.9173 MB / 0.8936 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/2.48, allocations: 8 kB / 0.8936 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/2.48, allocations: 0 / 0.8936 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/2.48, allocations: 0 / 0.8936 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/2.482, allocations: 1.607 MB / 0.8951 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/2.482, allocations: 0 / 0.8951 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/2.482, allocations: 45.92 kB / 0.8952 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002743/2.485, allocations: 0.6028 MB / 0.8958 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/2.485, allocations: 7.688 kB / 0.8958 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/2.486, allocations: 1.197 MB / 0.8969 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/2.486, allocations: 7.938 kB / 0.8969 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/2.487, allocations: 0.9505 MB / 0.8979 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/2.487, allocations: 175.1 kB / 0.898 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.221e-05/2.487, allocations: 15.42 kB / 0.8981 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/2.488, allocations: 19.86 kB / 0.8981 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/2.488, allocations: 23.47 kB / 0.8981 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/2.488, allocations: 8 kB / 0.8981 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006173/2.488, allocations: 0.6144 MB / 0.8987 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/2.488, allocations: 0 / 0.8987 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003168/2.492, allocations: 1.328 MB / 0.9 GB, free: 1.344 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.007158/2.499, allocations: 3.382 MB / 0.9033 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001121/2.5, allocations: 0.6585 MB / 0.9039 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/2.5, allocations: 0 / 0.9039 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005534/2.5, allocations: 342.3 kB / 0.9043 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005392/2.501, allocations: 96.92 kB / 0.9044 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/2.512, allocations: 8.68 MB / 0.9128 GB, free: 5.805 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/2.512, allocations: 0.9937 MB / 0.9138 GB, free: 4.805 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001932/2.513, allocations: 55.19 kB / 0.9139 GB, free: 4.754 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/2.513, allocations: 303.4 kB / 0.9142 GB, free: 4.699 MB / 0.7481 GB Notification: Performance of SimCode: time 2.01e-07/2.513, allocations: 0 / 0.9142 GB, free: 4.699 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.421/6.933, allocations: 53.69 MB / 0.9666 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002927/6.934, allocations: 329.5 kB / 0.9669 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.787/11.72, allocations: 0 / 0.9669 GB, free: 15.01 MB / 0.8106 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestCentrifugalPump_Scenario_2_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestCentrifugalPump_Scenario_2.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe 2>&1)