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: "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestCentrifugalPump_Scenario_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestCentrifugalPump_Scenario_4",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.7772/0.7772, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.183e-05/1.184e-05, allocations: 0 / 204.9 MB, free: 9.949 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1536, allocations: 31.99 MB / 236.9 MB, free: 5.43 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.448/1.602, allocations: 295 MB / 0.5194 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1747/1.776, allocations: 186.6 MB / 0.7016 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000216/1.777, allocations: 11.94 kB / 0.7017 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.092e-05/1.777, allocations: 35.64 kB / 0.7017 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000323/1.777, allocations: 145 kB / 0.7018 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2799/2.057, allocations: 8.983 MB / 0.7106 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007331/2.058, allocations: 0.5804 MB / 0.7112 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00049/2.058, allocations: 295.5 kB / 0.7115 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003732/2.059, allocations: 222.2 kB / 0.7117 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/2.059, allocations: 248.1 kB / 0.7119 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.006e-05/2.059, allocations: 21.66 kB / 0.7119 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02522/2.084, allocations: 16.84 MB / 0.7284 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000217/2.084, allocations: 196.8 kB / 0.7286 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003243/2.085, allocations: 374.8 kB / 0.7289 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01674/2.101, allocations: 8.989 MB / 0.7377 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/2.101, allocations: 0 / 0.7377 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/2.101, allocations: 0 / 0.7377 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.418e-06/2.102, allocations: 2.938 kB / 0.7377 GB, free: 2.66 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.004179/2.106, allocations: 2.035 MB / 0.7397 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/2.106, allocations: 8.625 kB / 0.7397 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.071e-05/2.106, allocations: 90.17 kB / 0.7398 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.853e-05/2.106, allocations: 114.1 kB / 0.7399 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/2.106, allocations: 0.491 MB / 0.7404 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.913e-05/2.106, allocations: 33.75 kB / 0.7404 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.397e-05/2.106, allocations: 51.66 kB / 0.7404 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008367/2.107, allocations: 0.6075 MB / 0.741 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/2.107, allocations: 4.031 kB / 0.741 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.827e-05/2.107, allocations: 20.03 kB / 0.7411 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/2.107, allocations: 16.12 kB / 0.7411 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009356/2.108, allocations: 0.6124 MB / 0.7417 GB, free: 0.5195 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.002287/2.111, allocations: 2.341 MB / 0.744 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/2.112, allocations: 0.697 MB / 0.7446 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003654/2.113, allocations: 233.8 kB / 0.7449 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.309/2.421, allocations: 142.1 MB / 0.8836 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/2.422, allocations: 38.44 kB / 0.8836 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 2.064e-06/2.422, allocations: 3.75 kB / 0.8836 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.003194/2.425, allocations: 1.131 MB / 0.8847 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/2.425, allocations: 55.41 kB / 0.8848 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009924/2.426, allocations: 0.9105 MB / 0.8857 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/2.426, allocations: 33.39 kB / 0.8857 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/2.426, allocations: 472.5 kB / 0.8862 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.247e-05/2.426, allocations: 107.8 kB / 0.8863 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.588e-05/2.426, allocations: 52.19 kB / 0.8863 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.461e-05/2.426, allocations: 325.3 kB / 0.8866 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004562/2.427, allocations: 232.4 kB / 0.8868 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004885/2.427, allocations: 351.7 kB / 0.8872 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008678/2.428, allocations: 0.564 MB / 0.8877 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/2.428, allocations: 4 kB / 0.8877 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001544/2.43, allocations: 0.8996 MB / 0.8886 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/2.43, allocations: 8 kB / 0.8886 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/2.43, allocations: 4 kB / 0.8886 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00435/2.434, allocations: 0.8132 MB / 0.8894 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/2.435, allocations: 72.83 kB / 0.8895 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/2.436, allocations: 1.259 MB / 0.8907 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/2.436, allocations: 86.75 kB / 0.8908 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/2.436, allocations: 19.62 kB / 0.8908 GB, free: 9.309 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.0002923/2.437, allocations: 263.2 kB / 0.8911 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/2.437, allocations: 90.88 kB / 0.8912 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/2.438, allocations: 0.7232 MB / 0.8919 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/2.438, allocations: 4.094 kB / 0.8919 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/2.438, allocations: 0 / 0.8919 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/2.438, allocations: 7.969 kB / 0.8919 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006894/2.439, allocations: 0.6541 MB / 0.8925 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/2.439, allocations: 4 kB / 0.8925 GB, free: 7.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/2.439, allocations: 63.77 kB / 0.8926 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002572/2.442, allocations: 453.3 kB / 0.893 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/2.442, allocations: 13.23 kB / 0.893 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008707/2.443, allocations: 0.7464 MB / 0.8937 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/2.443, allocations: 4 kB / 0.8938 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/2.444, allocations: 1.038 MB / 0.8948 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/2.445, allocations: 183.1 kB / 0.8949 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.399e-05/2.445, allocations: 11.25 kB / 0.8949 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/2.445, allocations: 23.55 kB / 0.895 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/2.445, allocations: 23.95 kB / 0.895 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/2.445, allocations: 11.88 kB / 0.895 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006643/2.446, allocations: 0.6281 MB / 0.8956 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/2.446, allocations: 0 / 0.8956 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003349/2.449, allocations: 1.343 MB / 0.8969 GB, free: 3.844 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.007163/2.456, allocations: 3.441 MB / 0.9003 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001231/2.457, allocations: 0.5786 MB / 0.9009 GB, free: 416 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/2.457, allocations: 0 / 0.9009 GB, free: 416 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007274/2.458, allocations: 319.5 kB / 0.9012 GB, free: 152 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006063/2.459, allocations: 89.39 kB / 0.9012 GB, free: 96 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/2.47, allocations: 8.248 MB / 0.9093 GB, free: 8.676 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/2.471, allocations: 1.003 MB / 0.9103 GB, free: 7.672 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002491/2.471, allocations: 60.98 kB / 0.9103 GB, free: 7.613 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/2.471, allocations: 316.1 kB / 0.9106 GB, free: 7.551 MB / 0.7481 GB Notification: Performance of SimCode: time 5.61e-07/2.471, allocations: 0 / 0.9106 GB, free: 7.551 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.259/5.731, allocations: 54.42 MB / 0.9638 GB, free: 1.512 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002801/5.731, allocations: 336.7 kB / 0.9641 GB, free: 1.125 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.8/10.53, allocations: 7.266 kB / 0.9641 GB, free: 1.121 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestCentrifugalPump_Scenario_4_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestCentrifugalPump_Scenario_4.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe 2>&1)