Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 180.4 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009137/0.0009135, allocations: 94.41 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002726/0.0002727, allocations: 8 kB / 351.2 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2294, allocations: 50.41 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09184/0.3213, allocations: 81.33 MB / 482.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.3216, allocations: 76.47 kB / 483 MB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0268/0.3484, allocations: 10.23 MB / 493.2 MB, free: 4.734 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3485, allocations: 0 / 493.2 MB, free: 4.734 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.19e-05/0.3485, allocations: 12 kB / 493.2 MB, free: 4.723 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001661/0.3502, allocations: 0.8391 MB / 494.1 MB, free: 3.828 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/0.3502, allocations: 8.031 kB / 494.1 MB, free: 3.82 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001665/0.3504, allocations: 83.52 kB / 494.1 MB, free: 3.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.3506, allocations: 63.25 kB / 494.2 MB, free: 3.668 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007161/0.3513, allocations: 401.9 kB / 494.6 MB, free: 3.234 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.3514, allocations: 62.7 kB / 494.7 MB, free: 3.164 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.318e-05/0.3515, allocations: 32 kB / 494.7 MB, free: 3.133 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009678/0.3525, allocations: 0.5224 MB / 495.2 MB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.3525, allocations: 11.94 kB / 495.2 MB, free: 2.551 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.362e-05/0.3526, allocations: 20 kB / 495.2 MB, free: 2.531 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.3526, allocations: 8 kB / 495.3 MB, free: 2.523 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008737/0.3535, allocations: 391.7 kB / 495.6 MB, free: 2.137 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002493/0.356, allocations: 1.352 MB / 497 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.3571, allocations: 0.5084 MB / 497.5 MB, free: 180 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.89e-05/0.3572, allocations: 11.98 kB / 497.5 MB, free: 168 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.3572, allocations: 38.56 kB / 497.5 MB, free: 120 kB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 3.056e-06/0.3572, allocations: 4 kB / 497.5 MB, free: 116 kB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.001693/0.3589, allocations: 0.7958 MB / 498.3 MB, free: 15.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002298/0.3592, allocations: 445 kB / 498.8 MB, free: 14.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004947/0.3597, allocations: 421.2 kB / 499.2 MB, free: 14.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.3597, allocations: 41.7 kB / 499.2 MB, free: 14.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.36, allocations: 244.5 kB / 499.5 MB, free: 14.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.3601, allocations: 134 kB / 499.6 MB, free: 13.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-05/0.3601, allocations: 7.938 kB / 499.6 MB, free: 13.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3603, allocations: 370.7 kB / 500 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.3607, allocations: 155.9 kB / 0.4884 GB, free: 13.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005076/0.3612, allocations: 310.2 kB / 0.4887 GB, free: 13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00047/0.3616, allocations: 212.3 kB / 0.4889 GB, free: 12.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3617, allocations: 0 / 0.4889 GB, free: 12.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001053/0.3627, allocations: 0.5205 MB / 0.4894 GB, free: 12.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.028e-05/0.3628, allocations: 29.7 kB / 0.4894 GB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3628, allocations: 4 kB / 0.4894 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00017/0.363, allocations: 53.69 kB / 0.4895 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/0.3634, allocations: 95.88 kB / 0.4896 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/0.366, allocations: 2.768 MB / 0.4923 GB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004492/0.3665, allocations: 67.59 kB / 0.4923 GB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.3665, allocations: 15.95 kB / 0.4924 GB, free: 8.938 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 initialization (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002963/0.3668, allocations: 173.8 kB / 0.4925 GB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.506e-05/0.3669, allocations: 55.34 kB / 0.4926 GB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.3671, allocations: 56.92 kB / 0.4926 GB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3671, allocations: 4 kB / 0.4926 GB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3671, allocations: 4 kB / 0.4926 GB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001081/0.3682, allocations: 0.7779 MB / 0.4934 GB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.3699, allocations: 1.086 MB / 0.4945 GB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3699, allocations: 4 kB / 0.4945 GB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/0.3704, allocations: 103.9 kB / 0.4946 GB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.3705, allocations: 4 kB / 0.4946 GB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.3705, allocations: 7.938 kB / 0.4946 GB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3705, allocations: 0 / 0.4946 GB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3705, allocations: 7.953 kB / 0.4946 GB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.3718, allocations: 0.7374 MB / 0.4953 GB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.3721, allocations: 172.4 kB / 0.4955 GB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.363e-05/0.3722, allocations: 8 kB / 0.4955 GB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/0.3725, allocations: 43.88 kB / 0.4955 GB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.94e-05/0.3726, allocations: 27.91 kB / 0.4955 GB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.3726, allocations: 8 kB / 0.4956 GB, free: 5.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003916/0.373, allocations: 342.9 kB / 0.4959 GB, free: 5.121 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.373, allocations: 0 / 0.4959 GB, free: 5.121 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004929/0.3735, allocations: 147.8 kB / 0.496 GB, free: 4.977 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001657/0.3752, allocations: 1.286 MB / 0.4973 GB, free: 3.664 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.3765, allocations: 0.6879 MB / 0.4979 GB, free: 2.938 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3765, allocations: 4 kB / 0.498 GB, free: 2.934 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004199/0.377, allocations: 199.8 kB / 0.4981 GB, free: 2.738 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006453/0.3776, allocations: 142 kB / 0.4983 GB, free: 2.602 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.3801, allocations: 1.692 MB / 0.4999 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1786/0.5586, allocations: 0.8473 MB / 0.5008 GB, free: 97.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005015/0.5592, allocations: 55.91 kB / 0.5008 GB, free: 97.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003819/0.5596, allocations: 175.8 kB / 0.501 GB, free: 97.95 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.5596, allocations: 0.5 kB / 0.501 GB, free: 97.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.5919, allocations: 12.3 MB / 0.513 GB, free: 95.77 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/0.5921, allocations: 210.3 kB / 0.5132 GB, free: 95.53 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.438/3.03, allocations: 6.844 kB / 0.5132 GB, free: 95.53 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat does not exist to compare? outputFormat=mat