Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001163/0.001163, allocations: 95.59 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001102/0.001103, allocations: 205.7 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003396, allocations: 4 kB / 306.7 MB, free: 1.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1339, allocations: 51.49 MB / 358.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004962/0.1389, allocations: 3.006 MB / 361.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002492/0.1415, allocations: 0.951 MB / 362.2 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003606/0.1419, allocations: 7.938 kB / 362.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.1422, allocations: 71.52 kB / 362.2 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006276/0.1428, allocations: 211.4 kB / 362.4 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.1433, allocations: 107.8 kB / 362.5 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008981/0.1442, allocations: 494.8 kB / 363 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004116/0.1447, allocations: 171.1 kB / 363.2 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003926/0.1451, allocations: 215.2 kB / 363.4 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004299/0.1455, allocations: 262.9 kB / 363.7 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.293e-05/0.1456, allocations: 32 kB / 363.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.1457, allocations: 36 kB / 363.7 MB, free: 8.184 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.146, allocations: 95.59 kB / 363.8 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.1462, allocations: 137.4 kB / 364 MB, free: 7.949 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007947/0.147, allocations: 0.4985 MB / 364.5 MB, free: 7.449 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.147, allocations: 0 / 364.5 MB, free: 7.449 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.147, allocations: 0 / 364.5 MB, free: 7.449 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.147, allocations: 0 / 364.5 MB, free: 7.449 MB / 302.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.002069/0.1491, allocations: 0.8274 MB / 365.3 MB, free: 6.566 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.835e-05/0.1492, allocations: 8.031 kB / 365.3 MB, free: 6.559 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000193/0.1494, allocations: 79.44 kB / 365.4 MB, free: 6.473 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.1496, allocations: 67.25 kB / 365.4 MB, free: 6.406 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.1507, allocations: 409.9 kB / 365.8 MB, free: 5.965 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003002/0.1511, allocations: 90.61 kB / 365.9 MB, free: 5.871 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.1512, allocations: 47.78 kB / 366 MB, free: 5.824 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.1526, allocations: 0.5176 MB / 366.5 MB, free: 5.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.1526, allocations: 0 / 366.5 MB, free: 5.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.74e-05/0.1527, allocations: 20 kB / 366.5 MB, free: 5.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.1527, allocations: 8 kB / 366.5 MB, free: 5.223 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.1542, allocations: 403.7 kB / 366.9 MB, free: 4.832 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.003114/0.1574, allocations: 1.339 MB / 368.2 MB, free: 3.398 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.1591, allocations: 0.5081 MB / 368.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-05/0.1592, allocations: 7.984 kB / 368.8 MB, free: 2.852 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.1593, allocations: 38.56 kB / 368.8 MB, free: 2.805 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 3.607e-06/0.1593, allocations: 4 kB / 368.8 MB, free: 2.801 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.002665/0.1619, allocations: 0.8151 MB / 369.6 MB, free: 1.938 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003047/0.1623, allocations: 445 kB / 370.1 MB, free: 1.398 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007308/0.163, allocations: 450 kB / 370.5 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.842e-05/0.1631, allocations: 33.7 kB / 370.5 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002843/0.1634, allocations: 252.4 kB / 370.8 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.1635, allocations: 130.1 kB / 370.9 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.1636, allocations: 4 kB / 370.9 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.1638, allocations: 358.8 kB / 371.3 MB, free: 172 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000625/0.1645, allocations: 171.9 kB / 371.4 MB, free: 0 / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2306/0.3951, allocations: 303.9 kB / 371.7 MB, free: 19.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005976/0.3957, allocations: 217.7 kB / 371.9 MB, free: 19.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.3957, allocations: 0 / 371.9 MB, free: 19.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001538/0.3973, allocations: 0.526 MB / 372.5 MB, free: 18.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.638e-05/0.3973, allocations: 34.92 kB / 372.5 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3974, allocations: 1.625 kB / 372.5 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002/0.3976, allocations: 49.56 kB / 372.5 MB, free: 18.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005058/0.3981, allocations: 103.5 kB / 372.6 MB, free: 18.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.4003, allocations: 2.765 MB / 375.4 MB, free: 16.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005905/0.4009, allocations: 68.59 kB / 375.5 MB, free: 16.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.4009, allocations: 16.08 kB / 375.5 MB, free: 16.39 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.0004376/0.4014, allocations: 170.9 kB / 375.7 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.461e-05/0.4015, allocations: 54.95 kB / 375.7 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.4016, allocations: 57.5 kB / 375.8 MB, free: 16.26 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.4016, allocations: 8.266 kB / 375.8 MB, free: 16.26 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4016, allocations: 1.031 kB / 375.8 MB, free: 16.26 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001203/0.4028, allocations: 0.7816 MB / 376.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.405, allocations: 1.082 MB / 377.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.405, allocations: 3.953 kB / 377.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004818/0.4055, allocations: 103.7 kB / 377.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.4055, allocations: 2.25 kB / 377.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.4055, allocations: 13.95 kB / 377.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.4056, allocations: 1.375 kB / 377.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4056, allocations: 0 / 377.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.4071, allocations: 0.7395 MB / 378.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/0.4073, allocations: 173.9 kB / 378.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.784e-05/0.4074, allocations: 12.91 kB / 378.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003961/0.4078, allocations: 42.11 kB / 378.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.846e-05/0.4079, allocations: 23.88 kB / 378.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.4079, allocations: 11.98 kB / 378.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000418/0.4083, allocations: 312 kB / 379.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.4084, allocations: 0 / 379.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005463/0.4089, allocations: 146.2 kB / 379.2 MB, free: 14.73 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.001729/0.4107, allocations: 1.292 MB / 380.5 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.412, allocations: 0.6949 MB / 381.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.412, allocations: 1.406 kB / 381.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004421/0.4124, allocations: 202.8 kB / 381.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007167/0.4132, allocations: 128.8 kB / 381.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.4154, allocations: 1.674 MB / 383.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.4157, allocations: 0.8471 MB / 384 MB, free: 11.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002806/0.416, allocations: 61.55 kB / 384.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.4162, allocations: 177 kB / 384.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4162, allocations: 0 / 384.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04764/0.4639, allocations: 11.86 MB / 396.1 MB, free: 7.234 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/0.4641, allocations: 213.9 kB / 396.3 MB, free: 6.996 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.172/2.636, allocations: 4 kB / 396.3 MB, free: 6.992 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat does not exist to compare? outputFormat=mat