Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.PumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_3_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.001099/0.001099, allocations: 96.19 kB / 16.93 MB, free: 5.984 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.0009106/0.0009107, allocations: 181.6 kB / 17.82 MB, free: 5.652 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.403/1.403, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004332/0.0004332, allocations: 8 kB / 280.8 MB, free: 3.656 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.093/0.09344, allocations: 47.58 MB / 328.4 MB, free: 4.008 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.0038/0.0973, allocations: 2.991 MB / 331.4 MB, free: 1 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.09893, allocations: 0.9599 MB / 332.4 MB, free: 32 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.09912, allocations: 4 kB / 332.4 MB, free: 28 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.09934, allocations: 83.36 kB / 332.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003528/0.0997, allocations: 215.4 kB / 332.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.0999, allocations: 95.88 kB / 332.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005214/0.1004, allocations: 487.3 kB / 333.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002749/0.1007, allocations: 166.8 kB / 333.4 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.101, allocations: 215.3 kB / 333.6 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.1013, allocations: 262.8 kB / 333.9 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.393e-05/0.1013, allocations: 36 kB / 333.9 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.498e-05/0.1014, allocations: 32 kB / 333.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.177e-05/0.1015, allocations: 95.64 kB / 334 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.1016, allocations: 137.3 kB / 334.2 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004369/0.1021, allocations: 0.4947 MB / 334.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.1021, allocations: 4 kB / 334.7 MB, free: 13.72 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1021, allocations: 0 / 334.7 MB, free: 13.72 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1021, allocations: 0 / 334.7 MB, free: 13.72 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.001327/0.1035, allocations: 0.8274 MB / 335.5 MB, free: 12.84 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1035, allocations: 8.031 kB / 335.5 MB, free: 12.83 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/0.1036, allocations: 87.44 kB / 335.6 MB, free: 12.74 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.1037, allocations: 67.25 kB / 335.6 MB, free: 12.67 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006228/0.1044, allocations: 409.8 kB / 336 MB, free: 12.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/0.1046, allocations: 90.66 kB / 336.1 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.464e-05/0.1046, allocations: 36 kB / 336.2 MB, free: 12.1 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008954/0.1055, allocations: 0.5216 MB / 336.7 MB, free: 11.52 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1056, allocations: 0 / 336.7 MB, free: 11.52 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.973e-05/0.1056, allocations: 16 kB / 336.7 MB, free: 11.51 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.1056, allocations: 8 kB / 336.7 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009191/0.1065, allocations: 407.7 kB / 337.1 MB, free: 11.11 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.001995/0.1086, allocations: 1.339 MB / 338.5 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.1097, allocations: 0.5121 MB / 339 MB, free: 9.133 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.1097, allocations: 8 kB / 339 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.1098, allocations: 46.5 kB / 339 MB, free: 9.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 1.793e-06/0.1098, allocations: 0 / 339 MB, free: 9.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=37): time 0.001748/0.1115, allocations: 0.8016 MB / 339.8 MB, free: 8.219 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001951/0.1117, allocations: 452.9 kB / 340.3 MB, free: 7.672 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004621/0.1122, allocations: 442.1 kB / 340.7 MB, free: 7.227 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.1122, allocations: 29.7 kB / 340.7 MB, free: 7.191 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.1124, allocations: 260.3 kB / 341 MB, free: 6.934 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.271e-05/0.1125, allocations: 126.1 kB / 341.1 MB, free: 6.809 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-05/0.1126, allocations: 8 kB / 341.1 MB, free: 6.801 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1127, allocations: 362.8 kB / 341.5 MB, free: 6.438 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004295/0.1131, allocations: 167.8 kB / 341.6 MB, free: 6.273 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005688/0.1137, allocations: 326.1 kB / 341.9 MB, free: 5.902 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/0.1142, allocations: 209.3 kB / 342.1 MB, free: 5.691 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1142, allocations: 0 / 342.1 MB, free: 5.691 MB / 286.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001075/0.1153, allocations: 0.5311 MB / 342.7 MB, free: 5.141 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.759e-05/0.1154, allocations: 33.7 kB / 342.7 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.1154, allocations: 3.953 kB / 342.7 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000189/0.1156, allocations: 53.69 kB / 342.8 MB, free: 5.039 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.116, allocations: 99.88 kB / 342.9 MB, free: 4.941 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/0.1183, allocations: 2.764 MB / 345.6 MB, free: 1.914 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004572/0.1188, allocations: 67.7 kB / 345.7 MB, free: 1.848 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.1188, allocations: 15.98 kB / 345.7 MB, free: 1.832 MB / 286.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.0002335/0.1191, allocations: 173.8 kB / 345.9 MB, free: 1.652 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.67e-05/0.1191, allocations: 59.3 kB / 345.9 MB, free: 1.594 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.1193, allocations: 56.92 kB / 346 MB, free: 1.535 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1193, allocations: 4 kB / 346 MB, free: 1.531 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1193, allocations: 0 / 346 MB, free: 1.531 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001077/0.1204, allocations: 0.7827 MB / 346.8 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.1221, allocations: 1.075 MB / 347.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1221, allocations: 0 / 347.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004717/0.1226, allocations: 107.9 kB / 348 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1226, allocations: 0 / 348 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.1227, allocations: 8 kB / 348 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1227, allocations: 0 / 348 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1227, allocations: 4 kB / 348 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.1241, allocations: 0.7371 MB / 348.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/0.1243, allocations: 168.4 kB / 348.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.752e-05/0.1244, allocations: 8 kB / 348.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003952/0.1248, allocations: 44.03 kB / 348.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/0.1249, allocations: 23.95 kB / 348.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.1249, allocations: 12 kB / 349 MB, free: 14.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003479/0.1253, allocations: 318.9 kB / 349.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1253, allocations: 0 / 349.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004744/0.1257, allocations: 143.7 kB / 349.4 MB, free: 13.91 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.1275, allocations: 1.298 MB / 350.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.1289, allocations: 0.6957 MB / 351.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1289, allocations: 0 / 351.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004664/0.1294, allocations: 215.8 kB / 351.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006086/0.13, allocations: 126 kB / 351.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.1322, allocations: 1.672 MB / 353.4 MB, free: 9.801 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/0.1327, allocations: 0.8507 MB / 354.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002589/0.133, allocations: 63.42 kB / 354.3 MB, free: 8.863 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.1332, allocations: 175.4 kB / 354.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1332, allocations: 3.938 kB / 354.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.1611, allocations: 11.86 MB / 366.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/0.1613, allocations: 216.8 kB / 366.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.123/2.284, allocations: 3.938 kB / 366.6 MB, free: 12.57 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat does not exist to compare? outputFormat=mat