Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009854/0.0009853, allocations: 89.27 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 180.5 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.2 MB / 241.2 MB, free: 5.25 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003241, allocations: 7.625 kB / 300.9 MB, free: 5.488 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1152, allocations: 50.42 MB / 351.3 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.004735/0.1199, allocations: 4.538 MB / 355.9 MB, free: 6.734 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.1223, allocations: 1.208 MB / 357.1 MB, free: 5.52 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00048/0.1228, allocations: 15.94 kB / 357.1 MB, free: 5.504 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004438/0.1233, allocations: 111.1 kB / 357.2 MB, free: 5.395 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008906/0.1242, allocations: 293.7 kB / 357.5 MB, free: 5.105 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005738/0.1248, allocations: 175.8 kB / 357.7 MB, free: 4.934 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001284/0.1261, allocations: 1.082 MB / 358.7 MB, free: 3.848 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004795/0.1266, allocations: 288.5 kB / 359 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005125/0.1271, allocations: 410.5 kB / 359.4 MB, free: 3.152 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004857/0.1276, allocations: 474.1 kB / 359.9 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.1277, allocations: 68 kB / 360 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.1278, allocations: 68 kB / 360 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.128, allocations: 187.3 kB / 360.2 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.1282, allocations: 213.2 kB / 360.4 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008202/0.129, allocations: 0.9192 MB / 361.3 MB, free: 1.23 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.129, allocations: 0 / 361.3 MB, free: 1.23 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.129, allocations: 0 / 361.3 MB, free: 1.23 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.1291, allocations: 3.938 kB / 361.3 MB, free: 1.227 MB / 286.1 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.002196/0.1313, allocations: 1.246 MB / 362.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1313, allocations: 12.03 kB / 362.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001862/0.1315, allocations: 119.7 kB / 362.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.1317, allocations: 118.7 kB / 362.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000918/0.1326, allocations: 0.5786 MB / 363.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002977/0.1329, allocations: 174.4 kB / 363.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.133, allocations: 64 kB / 363.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.1346, allocations: 0.9329 MB / 364.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.1346, allocations: 11.89 kB / 364.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.969e-05/0.1347, allocations: 36 kB / 364.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.1347, allocations: 16 kB / 364.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.1364, allocations: 0.6844 MB / 365.3 MB, free: 13 MB / 302.1 MB 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.003589/0.14, allocations: 2.229 MB / 367.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.1418, allocations: 1.065 MB / 368.6 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008756/0.1427, allocations: 447.2 kB / 369 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.758e-05/0.1428, allocations: 16.62 kB / 369.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/0.1428, allocations: 47.22 kB / 369.1 MB, free: 9.023 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 4.688e-06/0.1428, allocations: 0 / 369.1 MB, free: 9.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.005289/0.1481, allocations: 2.027 MB / 371.1 MB, free: 6.902 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003757/0.1485, allocations: 0.8195 MB / 372 MB, free: 5.887 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008576/0.1494, allocations: 0.6568 MB / 372.6 MB, free: 5.223 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000133/0.1495, allocations: 45.7 kB / 372.7 MB, free: 5.172 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003105/0.1498, allocations: 360.9 kB / 373 MB, free: 4.816 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/0.1501, allocations: 268 kB / 373.3 MB, free: 4.551 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/0.1502, allocations: 20 kB / 373.3 MB, free: 4.531 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1503, allocations: 341.9 kB / 373.6 MB, free: 4.191 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006991/0.151, allocations: 305.8 kB / 373.9 MB, free: 3.895 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009381/0.152, allocations: 0.5937 MB / 374.5 MB, free: 3.195 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007624/0.1528, allocations: 443.9 kB / 375 MB, free: 2.746 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.1528, allocations: 0 / 375 MB, free: 2.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002762/0.1555, allocations: 1.221 MB / 376.2 MB, free: 1.488 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.842e-05/0.1556, allocations: 85.09 kB / 376.3 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.1556, allocations: 4 kB / 376.3 MB, free: 1.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006856/0.1563, allocations: 247.2 kB / 376.5 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006841/0.157, allocations: 163.8 kB / 376.7 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007897/0.1649, allocations: 6.483 MB / 383.1 MB, free: 9.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.1662, allocations: 127.4 kB / 383.3 MB, free: 9.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.56e-05/0.1662, allocations: 23.98 kB / 383.3 MB, free: 9.797 MB / 318.1 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 (73): * Single equations (assignments): 66 * 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.0005513/0.1668, allocations: 230.2 kB / 383.5 MB, free: 9.562 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.167, allocations: 87.2 kB / 383.6 MB, free: 9.477 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.1672, allocations: 96.52 kB / 383.7 MB, free: 9.375 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.1672, allocations: 11.98 kB / 383.7 MB, free: 9.363 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.1672, allocations: 4.141 kB / 383.7 MB, free: 9.359 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002564/0.1698, allocations: 1.366 MB / 385.1 MB, free: 7.879 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003975/0.1738, allocations: 2.105 MB / 387.2 MB, free: 5.711 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.1738, allocations: 0 / 387.2 MB, free: 5.711 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007111/0.1745, allocations: 159.8 kB / 387.3 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005117/0.1751, allocations: 218.4 kB / 387.6 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.828e-05/0.1751, allocations: 12 kB / 387.6 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005925/0.181, allocations: 5.063 MB / 392.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1811, allocations: 8.141 kB / 392.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00334/0.1844, allocations: 1.573 MB / 394.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000416/0.1849, allocations: 243.8 kB / 394.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.185, allocations: 19.98 kB / 394.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006032/0.1856, allocations: 67.95 kB / 394.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.1858, allocations: 72.5 kB / 394.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.056e-05/0.1858, allocations: 16 kB / 394.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005506/0.1864, allocations: 479 kB / 395.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1864, allocations: 0 / 395.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008755/0.1873, allocations: 291.7 kB / 395.4 MB, free: 13.07 MB / 334.1 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 (65): * Single equations (assignments): 62 * 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.003595/0.1909, allocations: 2.142 MB / 397.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002358/0.1933, allocations: 1.426 MB / 398.9 MB, free: 9.379 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.1933, allocations: 8.125 kB / 398.9 MB, free: 9.371 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001395/0.1947, allocations: 0.8237 MB / 399.8 MB, free: 8.508 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.1959, allocations: 234.9 kB / 400 MB, free: 8.277 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009707/0.2056, allocations: 5.615 MB / 405.6 MB, free: 2.512 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006421/0.2063, allocations: 0.9675 MB / 406.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005436/0.2068, allocations: 106.7 kB / 406.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004215/0.2073, allocations: 315.3 kB / 407 MB, free: 1.094 MB / 334.1 MB Notification: Performance of SimCode: time 8.81e-07/0.2073, allocations: 0 / 407 MB, free: 1.094 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2237/0.4309, allocations: 23.79 MB / 430.8 MB, free: 64.58 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.4312, allocations: 231.5 kB / 431 MB, free: 64.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.541/2.972, allocations: 0 / 431 MB, free: 64.34 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat does not exist to compare? outputFormat=mat