Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.ParallelPumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001036/0.001036, allocations: 102.9 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001513/0.001513, allocations: 192.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003333, allocations: 4 kB / 306.8 MB, free: 1.266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.123, allocations: 51.5 MB / 358.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.00476/0.1279, allocations: 4.552 MB / 362.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002701/0.1307, allocations: 1.235 MB / 364.1 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003394/0.131, allocations: 11.94 kB / 364.1 MB, free: 7.945 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.1314, allocations: 119.1 kB / 364.2 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005778/0.132, allocations: 293.7 kB / 364.5 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.1324, allocations: 171.7 kB / 364.7 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.1335, allocations: 1.082 MB / 365.8 MB, free: 6.285 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004512/0.134, allocations: 304.4 kB / 366.1 MB, free: 5.973 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004695/0.1344, allocations: 414.5 kB / 366.5 MB, free: 5.566 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004987/0.135, allocations: 482 kB / 366.9 MB, free: 5.094 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.1351, allocations: 68 kB / 367 MB, free: 5.027 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.1352, allocations: 72 kB / 367.1 MB, free: 4.957 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.1355, allocations: 179.3 kB / 367.2 MB, free: 4.781 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.1357, allocations: 213.2 kB / 367.4 MB, free: 4.566 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007028/0.1364, allocations: 0.9115 MB / 368.4 MB, free: 3.652 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1364, allocations: 0 / 368.4 MB, free: 3.652 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1364, allocations: 0 / 368.4 MB, free: 3.652 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.1364, allocations: 0 / 368.4 MB, free: 3.652 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002138/0.1386, allocations: 1.247 MB / 369.6 MB, free: 2.336 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.1386, allocations: 8.031 kB / 369.6 MB, free: 2.328 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001871/0.1388, allocations: 127.7 kB / 369.7 MB, free: 2.191 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.139, allocations: 118.7 kB / 369.9 MB, free: 2.074 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000877/0.1399, allocations: 0.5746 MB / 370.4 MB, free: 1.457 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003581/0.1403, allocations: 178.3 kB / 370.6 MB, free: 1.266 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.423e-05/0.1404, allocations: 68 kB / 370.7 MB, free: 1.199 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.1419, allocations: 0.9329 MB / 371.6 MB, free: 168 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.1419, allocations: 0 / 371.6 MB, free: 168 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.648e-05/0.142, allocations: 28 kB / 371.6 MB, free: 140 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.142, allocations: 16 kB / 371.6 MB, free: 124 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2098/0.3518, allocations: 0.687 MB / 372.3 MB, free: 19.36 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.004753/0.3566, allocations: 2.223 MB / 374.6 MB, free: 18.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002123/0.3587, allocations: 1.066 MB / 375.6 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009414/0.3597, allocations: 451.3 kB / 376.1 MB, free: 18.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.92e-05/0.3598, allocations: 15.47 kB / 376.1 MB, free: 18.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.3598, allocations: 46.8 kB / 376.1 MB, free: 18.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 2.755e-06/0.3598, allocations: 0 / 376.1 MB, free: 18.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.005386/0.3652, allocations: 2.031 MB / 378.2 MB, free: 17.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001696/0.3654, allocations: 0.8238 MB / 379 MB, free: 16.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000969/0.3664, allocations: 0.6566 MB / 379.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.133e-05/0.3665, allocations: 45.81 kB / 379.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.3667, allocations: 363.3 kB / 380 MB, free: 15.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.367, allocations: 262.4 kB / 380.3 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.367, allocations: 19.53 kB / 380.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.448e-05/0.3671, allocations: 337.4 kB / 380.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007051/0.3678, allocations: 311.7 kB / 380.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.3688, allocations: 0.5919 MB / 381.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007673/0.3696, allocations: 439.7 kB / 382 MB, free: 14.31 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3696, allocations: 0 / 382 MB, free: 14.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002893/0.3725, allocations: 1.227 MB / 383.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.588e-05/0.3726, allocations: 84.58 kB / 383.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.3726, allocations: 2.281 kB / 383.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008158/0.3734, allocations: 248.2 kB / 383.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007099/0.3741, allocations: 161.3 kB / 383.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006647/0.3808, allocations: 6.479 MB / 390.2 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.3819, allocations: 130.6 kB / 390.3 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-05/0.382, allocations: 23.31 kB / 390.3 MB, free: 7.754 MB / 302.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.0004229/0.3824, allocations: 227.2 kB / 390.5 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002633/0.3827, allocations: 92.06 kB / 390.6 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.3829, allocations: 102.8 kB / 390.7 MB, free: 7.449 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.3829, allocations: 8.25 kB / 390.7 MB, free: 7.449 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.3829, allocations: 4.656 kB / 390.7 MB, free: 7.449 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002576/0.3855, allocations: 1.36 MB / 392.1 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004314/0.3898, allocations: 2.097 MB / 394.2 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3899, allocations: 0 / 394.2 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007031/0.3906, allocations: 162.6 kB / 394.3 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005178/0.3911, allocations: 212.6 kB / 394.6 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-05/0.3911, allocations: 20.36 kB / 394.6 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00567/0.3968, allocations: 5.064 MB / 399.6 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3969, allocations: 128 / 399.6 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004305/0.4012, allocations: 1.566 MB / 401.2 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006899/0.4019, allocations: 246 kB / 401.4 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/0.4022, allocations: 19.47 kB / 401.5 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008561/0.4031, allocations: 75.86 kB / 401.5 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002578/0.4034, allocations: 63.44 kB / 401.6 MB, free: 15.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/0.4034, allocations: 22.05 kB / 401.6 MB, free: 15.76 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007672/0.4042, allocations: 470.3 kB / 402.1 MB, free: 15.49 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.213e-06/0.4042, allocations: 0 / 402.1 MB, free: 15.49 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001329/0.4055, allocations: 296.7 kB / 402.4 MB, free: 15.45 MB / 318.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.004048/0.4096, allocations: 2.15 MB / 404.5 MB, free: 14.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003103/0.4127, allocations: 1.432 MB / 406 MB, free: 12.95 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/0.4128, allocations: 4.125 kB / 406 MB, free: 12.94 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001679/0.4145, allocations: 0.826 MB / 406.8 MB, free: 12.08 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.4164, allocations: 234 kB / 407 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/0.4287, allocations: 5.62 MB / 412.6 MB, free: 6.086 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008051/0.4295, allocations: 0.9598 MB / 413.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007017/0.4303, allocations: 106.7 kB / 413.7 MB, free: 4.984 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006007/0.4309, allocations: 315.3 kB / 414 MB, free: 4.676 MB / 318.1 MB Notification: Performance of SimCode: time 1.643e-06/0.4309, allocations: 0 / 414 MB, free: 4.676 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0482/0.4791, allocations: 23.82 MB / 437.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.4793, allocations: 219.8 kB / 438 MB, free: 13.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.58/3.059, allocations: 3.938 kB / 438 MB, free: 13.05 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat does not exist to compare? outputFormat=mat