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.001136/0.001135, allocations: 91.59 kB / 16.3 MB, free: 5.992 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.00111/0.001111, allocations: 181.3 kB / 17.2 MB, free: 5.906 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.394/1.394, allocations: 223.2 MB / 241.1 MB, free: 5.473 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002969/0.0002974, allocations: 8.688 kB / 300.8 MB, free: 6.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1319, allocations: 50.42 MB / 351.2 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.004875/0.1368, allocations: 4.133 MB / 355.3 MB, free: 7.535 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.1398, allocations: 1.274 MB / 356.6 MB, free: 6.254 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005786/0.1404, allocations: 11.94 kB / 356.6 MB, free: 6.242 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003515/0.1408, allocations: 107.2 kB / 356.7 MB, free: 6.137 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008405/0.1416, allocations: 355 kB / 357.1 MB, free: 5.789 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.1421, allocations: 183.7 kB / 357.3 MB, free: 5.609 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.1433, allocations: 0.8265 MB / 358.1 MB, free: 4.785 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004194/0.1437, allocations: 280.5 kB / 358.4 MB, free: 4.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004487/0.1442, allocations: 390.7 kB / 358.7 MB, free: 4.117 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005312/0.1447, allocations: 458.1 kB / 359.2 MB, free: 3.668 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.1448, allocations: 60 kB / 359.3 MB, free: 3.609 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.145, allocations: 64 kB / 359.3 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.1451, allocations: 167.3 kB / 359.5 MB, free: 3.383 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.1453, allocations: 209.2 kB / 359.7 MB, free: 3.172 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007208/0.1461, allocations: 0.8686 MB / 360.6 MB, free: 2.301 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1461, allocations: 4 kB / 360.6 MB, free: 2.297 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.1461, allocations: 4 kB / 360.6 MB, free: 2.293 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.1461, allocations: 0 / 360.6 MB, free: 2.293 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.00221/0.1483, allocations: 1.239 MB / 361.8 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.1484, allocations: 8.031 kB / 361.8 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001941/0.1486, allocations: 115.7 kB / 361.9 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.1488, allocations: 126.6 kB / 362 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009084/0.1497, allocations: 0.5356 MB / 362.6 MB, free: 152 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003187/0.15, allocations: 178.4 kB / 362.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.591e-05/0.1501, allocations: 64 kB / 362.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.1517, allocations: 0.9212 MB / 363.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.1517, allocations: 3.953 kB / 363.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.385e-05/0.1518, allocations: 35.98 kB / 363.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.1518, allocations: 16 kB / 363.8 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.1533, allocations: 0.696 MB / 364.5 MB, free: 14.11 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.003477/0.1568, allocations: 2.178 MB / 366.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.1586, allocations: 1.078 MB / 367.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.455e-05/0.1587, allocations: 16.64 kB / 367.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.1588, allocations: 51.2 kB / 367.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 2.675e-06/0.1588, allocations: 0 / 367.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.005326/0.1641, allocations: 2.022 MB / 369.8 MB, free: 8.508 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003413/0.1645, allocations: 0.8234 MB / 370.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007513/0.1652, allocations: 0.61 MB / 371.3 MB, free: 6.871 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-05/0.1653, allocations: 50.14 kB / 371.3 MB, free: 6.816 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/0.1656, allocations: 360.9 kB / 371.7 MB, free: 6.461 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.1658, allocations: 268 kB / 371.9 MB, free: 6.195 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.1659, allocations: 16 kB / 371.9 MB, free: 6.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.166, allocations: 337.9 kB / 372.3 MB, free: 5.844 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007437/0.1667, allocations: 313.8 kB / 372.6 MB, free: 5.539 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009283/0.1677, allocations: 0.5858 MB / 373.2 MB, free: 4.848 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008083/0.1685, allocations: 439.9 kB / 373.6 MB, free: 4.402 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1685, allocations: 4 kB / 373.6 MB, free: 4.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002838/0.1714, allocations: 1.219 MB / 374.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.307e-05/0.1715, allocations: 85.09 kB / 374.9 MB, free: 3.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.1715, allocations: 3.953 kB / 374.9 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006765/0.1722, allocations: 255.3 kB / 375.2 MB, free: 2.773 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006982/0.1729, allocations: 163.8 kB / 375.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007614/0.1805, allocations: 6.57 MB / 381.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.1816, allocations: 131.3 kB / 382 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.027e-05/0.1817, allocations: 24 kB / 382 MB, free: 11.35 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 {1 3,1 1,3 3,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003961/0.1821, allocations: 222.2 kB / 382.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.1823, allocations: 94.95 kB / 382.3 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/0.1825, allocations: 96.53 kB / 382.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1825, allocations: 11.94 kB / 382.5 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.1825, allocations: 4 kB / 382.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002665/0.1852, allocations: 1.358 MB / 383.8 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004063/0.1893, allocations: 2.054 MB / 385.9 MB, free: 7.316 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.1893, allocations: 0 / 385.9 MB, free: 7.316 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007575/0.1901, allocations: 159.8 kB / 386 MB, free: 7.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005833/0.1907, allocations: 214.7 kB / 386.2 MB, free: 6.941 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.833e-05/0.1907, allocations: 19.98 kB / 386.3 MB, free: 6.922 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006356/0.1971, allocations: 5.138 MB / 391.4 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.1971, allocations: 4.031 kB / 391.4 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003665/0.2008, allocations: 1.558 MB / 393 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005189/0.2014, allocations: 247.8 kB / 393.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.2015, allocations: 20.12 kB / 393.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006787/0.2022, allocations: 79.84 kB / 393.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/0.2024, allocations: 64.5 kB / 393.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/0.2024, allocations: 27.98 kB / 393.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005544/0.203, allocations: 431.1 kB / 393.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.203, allocations: 0 / 393.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008861/0.2039, allocations: 287.7 kB / 394.1 MB, free: 14.65 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.003777/0.2077, allocations: 2.149 MB / 396.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002447/0.2101, allocations: 1.426 MB / 397.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.2102, allocations: 4 kB / 397.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00148/0.2117, allocations: 0.8317 MB / 398.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.2127, allocations: 202.7 kB / 398.7 MB, free: 9.879 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/0.2163, allocations: 2.811 MB / 401.5 MB, free: 7.008 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.2168, allocations: 0.9787 MB / 402.5 MB, free: 5.996 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004002/0.2172, allocations: 89.78 kB / 402.6 MB, free: 5.906 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003685/0.2176, allocations: 315.3 kB / 402.9 MB, free: 5.598 MB / 334.1 MB Notification: Performance of SimCode: time 9.01e-07/0.2176, allocations: 0 / 402.9 MB, free: 5.598 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2302/0.4478, allocations: 22.59 MB / 425.5 MB, free: 63.47 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/0.448, allocations: 218.5 kB / 425.7 MB, free: 63.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/2.903, allocations: 2.531 kB / 425.7 MB, free: 63.23 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