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.002156/0.002156, allocations: 186.1 kB / 16.4 MB, free: 5.719 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.007/2.007, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001179/0.001179, allocations: 96.41 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003983, allocations: 8 kB / 327.1 MB, free: 108 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3411, allocations: 47.57 MB / 374.6 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1353/0.4765, allocations: 82.82 MB / 457.4 MB, free: 13.9 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/0.4768, allocations: 75.95 kB / 457.5 MB, free: 13.83 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07579/0.5527, allocations: 17.01 MB / 474.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.5527, allocations: 0 / 474.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.469e-05/0.5528, allocations: 24 kB / 474.6 MB, free: 12.68 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.003869/0.5567, allocations: 1.247 MB / 475.8 MB, free: 11.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.5568, allocations: 8.031 kB / 475.8 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004344/0.5572, allocations: 119.7 kB / 475.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003144/0.5575, allocations: 118.7 kB / 476 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.5591, allocations: 0.5554 MB / 476.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003252/0.5594, allocations: 154.4 kB / 476.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.5596, allocations: 64 kB / 476.8 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002555/0.5622, allocations: 0.9142 MB / 477.7 MB, free: 9.266 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.378e-05/0.5623, allocations: 0 / 477.7 MB, free: 9.266 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.5624, allocations: 28 kB / 477.8 MB, free: 9.238 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.5624, allocations: 19.94 kB / 477.8 MB, free: 9.219 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002806/0.5652, allocations: 0.6844 MB / 478.5 MB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00666/0.5719, allocations: 2.252 MB / 480.7 MB, free: 6.188 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003389/0.5754, allocations: 1.141 MB / 481.8 MB, free: 4.965 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.5756, allocations: 20.62 kB / 481.9 MB, free: 4.945 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.433e-05/0.5757, allocations: 51.22 kB / 481.9 MB, free: 4.887 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.827e-06/0.5757, allocations: 1.859 kB / 481.9 MB, free: 4.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.01042/0.5861, allocations: 2.037 MB / 484 MB, free: 2.758 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004114/0.5866, allocations: 0.8272 MB / 484.8 MB, free: 1.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.5879, allocations: 0.5857 MB / 485.4 MB, free: 1.137 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002777/0.5882, allocations: 45.7 kB / 485.4 MB, free: 1.086 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/0.5886, allocations: 371.4 kB / 485.8 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004295/0.589, allocations: 268 kB / 486 MB, free: 464 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.98e-05/0.5891, allocations: 16 kB / 486.1 MB, free: 448 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.5893, allocations: 338.8 kB / 486.4 MB, free: 100 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.5906, allocations: 305.8 kB / 486.7 MB, free: 15.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.5924, allocations: 0.582 MB / 487.3 MB, free: 15.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/0.594, allocations: 428.8 kB / 487.7 MB, free: 14.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.5941, allocations: 0 / 487.7 MB, free: 14.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.005229/0.5993, allocations: 1.161 MB / 488.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.855e-05/0.5995, allocations: 85.11 kB / 488.9 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.5995, allocations: 0 / 488.9 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.6008, allocations: 247.2 kB / 489.2 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/0.6023, allocations: 167.7 kB / 489.3 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/0.6151, allocations: 6.571 MB / 495.9 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.6166, allocations: 127.3 kB / 496 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.6168, allocations: 28 kB / 496.1 MB, free: 5.703 MB / 378.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 () * Number of clocked 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.0006419/0.6174, allocations: 221.8 kB / 496.3 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/0.6177, allocations: 94.91 kB / 496.4 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003186/0.618, allocations: 104.8 kB / 496.5 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.6181, allocations: 8 kB / 496.5 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.6181, allocations: 0 / 496.5 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004752/0.6228, allocations: 1.362 MB / 497.8 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007794/0.6307, allocations: 2.086 MB / 499.9 MB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.6308, allocations: 0 / 499.9 MB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001522/0.6323, allocations: 155.8 kB / 0.4884 GB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001038/0.6333, allocations: 218.4 kB / 0.4886 GB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/0.6335, allocations: 19.98 kB / 0.4886 GB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2834/0.9169, allocations: 5.114 MB / 0.4936 GB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.917, allocations: 2.938 kB / 0.4936 GB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006481/0.9235, allocations: 1.558 MB / 0.4951 GB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006624/0.9242, allocations: 249 kB / 0.4953 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/0.9244, allocations: 20.19 kB / 0.4954 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.9254, allocations: 57.12 kB / 0.4954 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002858/0.9258, allocations: 64.67 kB / 0.4955 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-05/0.9258, allocations: 22.56 kB / 0.4955 GB, free: 101 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009085/0.9268, allocations: 473.9 kB / 0.4959 GB, free: 100.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.9268, allocations: 1.188 kB / 0.496 GB, free: 100.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001449/0.9282, allocations: 305.1 kB / 0.4962 GB, free: 100.9 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 () * Number of clocked 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.006675/0.9349, allocations: 2.152 MB / 0.4983 GB, free: 100.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003712/0.9387, allocations: 1.422 MB / 0.4997 GB, free: 99.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.9388, allocations: 1.5 kB / 0.4997 GB, free: 99.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002577/0.9413, allocations: 0.8228 MB / 0.5005 GB, free: 99.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.9431, allocations: 216.4 kB / 0.5007 GB, free: 99.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00619/0.9493, allocations: 2.857 MB / 0.5035 GB, free: 97.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.9499, allocations: 0.9714 MB / 0.5045 GB, free: 96.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007378/0.9506, allocations: 330.2 kB / 0.5048 GB, free: 96.88 MB / 378.7 MB Notification: Performance of SimCode: time 2.454e-06/0.9507, allocations: 112 / 0.5048 GB, free: 96.88 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.042/3.992, allocations: 25.43 MB / 0.5296 GB, free: 81.36 MB / 378.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