Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001559/0.001559, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.229/2.229, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 82.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.637e-05/3.654e-05, allocations: 4 kB / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1027, allocations: 47.58 MB / 369.2 MB, free: 2.102 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4181/0.5209, allocations: 82.72 MB / 451.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.5213, allocations: 66.66 kB / 452 MB, free: 10.44 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07772/0.599, allocations: 17.01 MB / 469 MB, free: 11.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.5991, allocations: 0 / 469 MB, free: 11.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.908e-05/0.5992, allocations: 20 kB / 469 MB, free: 11.19 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.003688/0.6029, allocations: 1.108 MB / 470.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.551e-05/0.603, allocations: 12.03 kB / 470.1 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003882/0.6034, allocations: 119.7 kB / 470.2 MB, free: 9.879 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003933/0.6038, allocations: 114.7 kB / 470.4 MB, free: 9.766 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001725/0.6055, allocations: 0.5477 MB / 470.9 MB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003388/0.6059, allocations: 150.6 kB / 471 MB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.6061, allocations: 64 kB / 471.1 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/0.6083, allocations: 0.8393 MB / 471.9 MB, free: 8.008 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.68e-05/0.6084, allocations: 0 / 471.9 MB, free: 8.008 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/0.6086, allocations: 28 kB / 472 MB, free: 7.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.6086, allocations: 16 kB / 472 MB, free: 7.965 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/0.6105, allocations: 0.5246 MB / 472.5 MB, free: 7.438 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007/0.6176, allocations: 2.252 MB / 474.8 MB, free: 5.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002352/0.62, allocations: 0.9851 MB / 475.8 MB, free: 4.016 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.6211, allocations: 351.8 kB / 476.1 MB, free: 3.668 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.6213, allocations: 24.72 kB / 476.1 MB, free: 3.645 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.077e-05/0.6213, allocations: 47.28 kB / 476.2 MB, free: 3.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 3.897e-06/0.6213, allocations: 0 / 476.2 MB, free: 3.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.0041/0.6255, allocations: 0.924 MB / 477.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004664/0.626, allocations: 0.8235 MB / 477.9 MB, free: 1.625 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.6273, allocations: 0.5703 MB / 478.5 MB, free: 1.047 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002738/0.6276, allocations: 45.7 kB / 478.5 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003734/0.628, allocations: 371.4 kB / 478.9 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000472/0.6285, allocations: 268 kB / 479.2 MB, free: 372 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.839e-05/0.6286, allocations: 16 kB / 479.2 MB, free: 356 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.6288, allocations: 334.8 kB / 479.5 MB, free: 12 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007951/0.6296, allocations: 233.5 kB / 479.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.6307, allocations: 0.4977 MB / 480.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009347/0.6317, allocations: 361.9 kB / 480.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.6317, allocations: 0 / 480.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00404/0.6358, allocations: 1.019 MB / 481.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-05/0.6359, allocations: 81.11 kB / 481.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.6359, allocations: 7.984 kB / 481.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.6371, allocations: 207.3 kB / 481.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/0.6386, allocations: 159.7 kB / 482 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/0.6492, allocations: 6.218 MB / 488.3 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.6507, allocations: 123.3 kB / 488.4 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.6509, allocations: 24 kB / 488.4 MB, free: 6.383 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003158/0.6512, allocations: 160.9 kB / 488.6 MB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.6515, allocations: 90.97 kB / 488.6 MB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003268/0.6518, allocations: 96.52 kB / 488.7 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/0.6519, allocations: 4 kB / 488.7 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.6519, allocations: 7.938 kB / 488.8 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003652/0.6556, allocations: 1.201 MB / 490 MB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006681/0.6623, allocations: 1.937 MB / 491.9 MB, free: 2.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.6624, allocations: 192 / 491.9 MB, free: 2.699 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/0.664, allocations: 167.8 kB / 492.1 MB, free: 2.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008329/0.6648, allocations: 158.6 kB / 492.2 MB, free: 2.371 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000159/0.665, allocations: 15.98 kB / 492.2 MB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009025/0.6741, allocations: 4.798 MB / 497 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/0.6741, allocations: 4 kB / 497 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004965/0.6791, allocations: 1.328 MB / 498.4 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007672/0.6799, allocations: 243.8 kB / 498.6 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/0.6801, allocations: 23.98 kB / 498.6 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.6813, allocations: 63.91 kB / 498.7 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002976/0.6816, allocations: 68.67 kB / 498.7 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.096e-05/0.6817, allocations: 16 kB / 498.8 MB, free: 11.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001014/0.6827, allocations: 471.1 kB / 499.2 MB, free: 10.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.835e-06/0.6827, allocations: 4 kB / 499.2 MB, free: 10.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001581/0.6843, allocations: 299.6 kB / 499.5 MB, free: 10.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005457/0.6898, allocations: 1.916 MB / 0.4897 GB, free: 8.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003085/0.693, allocations: 1.263 MB / 0.4909 GB, free: 7.305 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/0.693, allocations: 4 kB / 0.4909 GB, free: 7.301 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00224/0.6953, allocations: 0.7385 MB / 0.4916 GB, free: 6.523 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/0.6972, allocations: 218.4 kB / 0.4918 GB, free: 6.316 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/0.7025, allocations: 1.473 MB / 0.4933 GB, free: 4.797 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007617/0.7034, allocations: 0.9792 MB / 0.4942 GB, free: 3.793 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008543/0.7042, allocations: 323.3 kB / 0.4946 GB, free: 3.477 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/0.7043, allocations: 0 / 0.4946 GB, free: 3.477 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.184/3.888, allocations: 25.75 MB / 0.5197 GB, free: 9.656 MB / 410.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat does not exist to compare? outputFormat=mat