Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_3_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.0009424/0.0009423, allocations: 97.86 kB / 16.95 MB, free: 6.453 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.001027/0.001028, allocations: 182.9 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.4 MB / 224 MB, free: 13.09 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004033, allocations: 12 kB / 280.9 MB, free: 3.625 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08119/0.08161, allocations: 47.58 MB / 328.4 MB, free: 3.977 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.004405/0.08605, allocations: 4.537 MB / 333 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.08833, allocations: 1.259 MB / 334.2 MB, free: 14.15 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002869/0.08864, allocations: 11.94 kB / 334.3 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003254/0.08897, allocations: 115.1 kB / 334.4 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005334/0.08952, allocations: 285.7 kB / 334.6 MB, free: 13.74 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.08987, allocations: 179.7 kB / 334.8 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009323/0.09081, allocations: 1.078 MB / 335.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003901/0.09122, allocations: 296.5 kB / 336.2 MB, free: 12.18 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003776/0.09161, allocations: 414.5 kB / 336.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004802/0.09209, allocations: 474.1 kB / 337.1 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.09221, allocations: 68 kB / 337.1 MB, free: 11.24 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.09236, allocations: 68 kB / 337.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.09253, allocations: 187.3 kB / 337.4 MB, free: 10.99 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.09272, allocations: 213.2 kB / 337.6 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008133/0.09354, allocations: 0.9075 MB / 338.5 MB, free: 9.863 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.09356, allocations: 0 / 338.5 MB, free: 9.863 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.09357, allocations: 0 / 338.5 MB, free: 9.863 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.09358, allocations: 0 / 338.5 MB, free: 9.863 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.002079/0.09567, allocations: 1.243 MB / 339.7 MB, free: 8.551 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.09572, allocations: 8.031 kB / 339.7 MB, free: 8.543 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002355/0.09596, allocations: 123.7 kB / 339.9 MB, free: 8.414 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.09614, allocations: 118.7 kB / 340 MB, free: 8.297 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008986/0.09705, allocations: 0.5824 MB / 340.6 MB, free: 7.668 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002773/0.09734, allocations: 178.4 kB / 340.7 MB, free: 7.477 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.435e-05/0.09744, allocations: 67.98 kB / 340.8 MB, free: 7.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.09892, allocations: 0.9251 MB / 341.7 MB, free: 6.383 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.09895, allocations: 3.984 kB / 341.7 MB, free: 6.379 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-05/0.09903, allocations: 28 kB / 341.8 MB, free: 6.352 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.09905, allocations: 19.94 kB / 341.8 MB, free: 6.332 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.1005, allocations: 0.7 MB / 342.5 MB, free: 5.629 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.00334/0.1039, allocations: 2.217 MB / 344.7 MB, free: 3.305 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.1056, allocations: 1.056 MB / 345.7 MB, free: 2.188 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008094/0.1064, allocations: 445.1 kB / 346.2 MB, free: 1.746 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.356e-05/0.1065, allocations: 24.62 kB / 346.2 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.1065, allocations: 51.22 kB / 346.3 MB, free: 1.664 MB / 286.1 MB Notification: Performance of pre-optimization done (n=77): time 2.104e-06/0.1065, allocations: 0 / 346.3 MB, free: 1.664 MB / 286.1 MB Notification: Performance of matching and sorting (n=77): time 0.004823/0.1114, allocations: 2.027 MB / 348.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003739/0.1117, allocations: 0.8234 MB / 349.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007224/0.1125, allocations: 0.6607 MB / 349.8 MB, free: 13.85 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.106e-05/0.1126, allocations: 41.7 kB / 349.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002524/0.1128, allocations: 364.8 kB / 350.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002131/0.113, allocations: 272 kB / 350.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.1131, allocations: 15.94 kB / 350.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1132, allocations: 330 kB / 350.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006581/0.1139, allocations: 313.8 kB / 351.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008912/0.1148, allocations: 0.5937 MB / 351.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007454/0.1155, allocations: 435.9 kB / 352.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1155, allocations: 0 / 352.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002555/0.1181, allocations: 1.227 MB / 353.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.436e-05/0.1182, allocations: 95.08 kB / 353.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1182, allocations: 0 / 353.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006635/0.1189, allocations: 247.3 kB / 353.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006374/0.1195, allocations: 163.8 kB / 353.8 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006828/0.1264, allocations: 6.488 MB / 360.3 MB, free: 2.586 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008254/0.1272, allocations: 127.3 kB / 360.4 MB, free: 2.461 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/0.1273, allocations: 28 kB / 360.5 MB, free: 2.434 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.0003325/0.1276, allocations: 225.7 kB / 360.7 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.1277, allocations: 90.97 kB / 360.8 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.1279, allocations: 100.5 kB / 360.9 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.1279, allocations: 12 kB / 360.9 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1279, allocations: 0 / 360.9 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002396/0.1304, allocations: 1.358 MB / 362.2 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003603/0.134, allocations: 2.101 MB / 364.3 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.134, allocations: 0 / 364.3 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006738/0.1347, allocations: 159.8 kB / 364.5 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004889/0.1352, allocations: 214.5 kB / 364.7 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.229e-05/0.1352, allocations: 16 kB / 364.7 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005423/0.1406, allocations: 5.051 MB / 369.8 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1407, allocations: 0 / 369.8 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003213/0.1439, allocations: 1.57 MB / 371.3 MB, free: 6.914 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000394/0.1443, allocations: 255.8 kB / 371.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.1444, allocations: 20 kB / 371.6 MB, free: 6.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006075/0.145, allocations: 71.94 kB / 371.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.1452, allocations: 60.56 kB / 371.7 MB, free: 6.496 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.036e-05/0.1453, allocations: 20 kB / 371.7 MB, free: 6.477 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005554/0.1458, allocations: 475 kB / 372.2 MB, free: 6.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1458, allocations: 7.938 kB / 372.2 MB, free: 6.012 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008483/0.1467, allocations: 287.7 kB / 372.5 MB, free: 5.73 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.0035/0.1502, allocations: 2.138 MB / 374.6 MB, free: 3.555 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00231/0.1525, allocations: 1.438 MB / 376.1 MB, free: 2.031 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.1525, allocations: 4 kB / 376.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.1539, allocations: 0.8199 MB / 376.9 MB, free: 1.164 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.1549, allocations: 238.9 kB / 377.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1533/0.3082, allocations: 5.62 MB / 382.8 MB, free: 51.1 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.3087, allocations: 0.9595 MB / 383.7 MB, free: 50.4 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005178/0.3092, allocations: 106.8 kB / 383.8 MB, free: 50.39 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003686/0.3096, allocations: 314.5 kB / 384.1 MB, free: 50.38 MB / 318.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3096, allocations: 0 / 384.1 MB, free: 50.38 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04073/0.3503, allocations: 23.8 MB / 407.9 MB, free: 34.73 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001308/0.3505, allocations: 231.3 kB / 408.2 MB, free: 34.48 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.928/3.279, allocations: 0 / 408.2 MB, free: 34.48 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat does not exist to compare? outputFormat=mat