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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 94.56 kB / 16.3 MB, free: 6.457 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.001059/0.001059, allocations: 184.9 kB / 17.2 MB, free: 6.34 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.497/1.497, allocations: 223.2 MB / 241.1 MB, free: 5.457 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002656/0.0002656, allocations: 9.266 kB / 300.8 MB, free: 5.984 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1244, allocations: 50.43 MB / 351.2 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004406/0.1289, allocations: 2.991 MB / 354.2 MB, free: 8.633 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.131, allocations: 0.9237 MB / 355.1 MB, free: 7.703 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002679/0.1313, allocations: 7.938 kB / 355.1 MB, free: 7.695 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.1316, allocations: 63.52 kB / 355.2 MB, free: 7.633 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005122/0.1321, allocations: 215.4 kB / 355.4 MB, free: 7.422 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.1324, allocations: 99.88 kB / 355.5 MB, free: 7.324 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007043/0.1332, allocations: 491.2 kB / 356 MB, free: 6.844 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003094/0.1335, allocations: 162.8 kB / 356.2 MB, free: 6.676 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.1337, allocations: 227.1 kB / 356.4 MB, free: 6.453 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003086/0.1341, allocations: 258.9 kB / 356.6 MB, free: 6.199 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.411e-05/0.1341, allocations: 32 kB / 356.7 MB, free: 6.168 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.748e-05/0.1342, allocations: 32 kB / 356.7 MB, free: 6.137 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.1343, allocations: 95.59 kB / 356.8 MB, free: 6.043 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.1344, allocations: 129.5 kB / 356.9 MB, free: 5.91 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004764/0.1349, allocations: 0.5064 MB / 357.4 MB, free: 5.402 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1349, allocations: 0 / 357.4 MB, free: 5.402 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.135, allocations: 0 / 357.4 MB, free: 5.402 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.135, allocations: 0 / 357.4 MB, free: 5.402 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001545/0.1365, allocations: 0.8157 MB / 358.2 MB, free: 4.531 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.1366, allocations: 12.03 kB / 358.2 MB, free: 4.52 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001631/0.1368, allocations: 91.36 kB / 358.3 MB, free: 4.422 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.1369, allocations: 71.19 kB / 358.4 MB, free: 4.352 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007465/0.1376, allocations: 401.9 kB / 358.8 MB, free: 3.918 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002162/0.1379, allocations: 90.67 kB / 358.9 MB, free: 3.824 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.276e-05/0.1379, allocations: 32 kB / 358.9 MB, free: 3.793 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.139, allocations: 0.5293 MB / 359.4 MB, free: 3.207 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.139, allocations: 3.953 kB / 359.5 MB, free: 3.203 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.44e-05/0.1391, allocations: 16 kB / 359.5 MB, free: 3.188 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.1391, allocations: 11.98 kB / 359.5 MB, free: 3.176 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009511/0.14, allocations: 399.8 kB / 359.9 MB, free: 2.785 MB / 286.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.002183/0.1422, allocations: 1.347 MB / 361.2 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.1434, allocations: 0.5045 MB / 361.7 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.099e-05/0.1434, allocations: 15.98 kB / 361.7 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.1435, allocations: 42.5 kB / 361.8 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 1.743e-06/0.1435, allocations: 0 / 361.8 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of matching and sorting (n=37): time 0.001853/0.1453, allocations: 0.8032 MB / 362.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002849/0.1456, allocations: 449 kB / 363 MB, free: 15.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005231/0.1462, allocations: 446 kB / 363.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.647e-05/0.1462, allocations: 41.64 kB / 363.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.1465, allocations: 248.4 kB / 363.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.1466, allocations: 122.1 kB / 363.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.169e-05/0.1466, allocations: 12 kB / 363.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.1468, allocations: 362.7 kB / 364.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004568/0.1473, allocations: 171.8 kB / 364.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/0.1479, allocations: 314.3 kB / 364.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.1484, allocations: 209.6 kB / 364.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1484, allocations: 0 / 364.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001131/0.1495, allocations: 0.5309 MB / 365.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.301e-05/0.1496, allocations: 31.89 kB / 365.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1496, allocations: 0 / 365.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001798/0.1498, allocations: 53.69 kB / 365.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004528/0.1502, allocations: 99.88 kB / 365.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/0.1527, allocations: 2.772 MB / 368.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004847/0.1532, allocations: 71.58 kB / 368.5 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.1533, allocations: 12 kB / 368.5 MB, free: 9.512 MB / 302.1 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 (39): * Single equations (assignments): 36 * 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.0002744/0.1536, allocations: 173.8 kB / 368.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.585e-05/0.1536, allocations: 55.34 kB / 368.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.1538, allocations: 56.92 kB / 368.7 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1538, allocations: 4 kB / 368.8 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1538, allocations: 0 / 368.8 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001169/0.155, allocations: 0.7932 MB / 369.5 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.1568, allocations: 1.067 MB / 370.6 MB, free: 7.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1568, allocations: 0 / 370.6 MB, free: 7.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000469/0.1573, allocations: 107.8 kB / 370.7 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.1573, allocations: 0 / 370.7 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.1573, allocations: 8 kB / 370.7 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.1573, allocations: 3.953 kB / 370.7 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1574, allocations: 4 kB / 370.7 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.1588, allocations: 0.7374 MB / 371.5 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.1591, allocations: 172.3 kB / 371.6 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.939e-05/0.1591, allocations: 15.98 kB / 371.7 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004011/0.1595, allocations: 40.03 kB / 371.7 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.1597, allocations: 31.86 kB / 371.7 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.1597, allocations: 11.98 kB / 371.7 MB, free: 6.016 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003409/0.16, allocations: 310.9 kB / 372 MB, free: 5.715 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.16, allocations: 0 / 372 MB, free: 5.715 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004799/0.1605, allocations: 143.8 kB / 372.2 MB, free: 5.574 MB / 302.1 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 (37): * Single equations (assignments): 37 * 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.001768/0.1623, allocations: 1.286 MB / 373.5 MB, free: 4.262 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001318/0.1636, allocations: 0.7035 MB / 374.2 MB, free: 3.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1636, allocations: 0 / 374.2 MB, free: 3.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000457/0.1641, allocations: 203.8 kB / 374.4 MB, free: 3.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006343/0.1648, allocations: 132.6 kB / 374.5 MB, free: 3.195 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.167, allocations: 1.679 MB / 376.2 MB, free: 1.473 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.1674, allocations: 0.8471 MB / 377 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002744/0.1677, allocations: 55.44 kB / 377.1 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.1679, allocations: 179.4 kB / 377.3 MB, free: 376 kB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1679, allocations: 0 / 377.3 MB, free: 376 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/0.1967, allocations: 11.86 MB / 389.1 MB, free: 4.828 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003279/0.1971, allocations: 225.4 kB / 389.3 MB, free: 4.574 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.083/2.28, allocations: 0 / 389.3 MB, free: 4.574 MB / 318.1 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