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.0008005/0.0008006, allocations: 92.19 kB / 16.95 MB, free: 6.098 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.0008012/0.0008013, allocations: 176 kB / 17.84 MB, free: 5.723 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.368/1.368, 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.0004595/0.0004596, allocations: 12 kB / 280.9 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08713/0.0876, allocations: 47.59 MB / 328.5 MB, free: 3.988 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003479/0.09112, allocations: 3.227 MB / 331.7 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.09272, allocations: 0.9322 MB / 332.6 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.09292, allocations: 8 kB / 332.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.09318, allocations: 71.39 kB / 332.7 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003641/0.09355, allocations: 178.6 kB / 332.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.09378, allocations: 99.88 kB / 333 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005627/0.09435, allocations: 0.6184 MB / 333.6 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000255/0.09462, allocations: 174.8 kB / 333.8 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.09486, allocations: 231.1 kB / 334 MB, free: 14.42 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.09515, allocations: 270.8 kB / 334.2 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.281e-05/0.09522, allocations: 36 kB / 334.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.708e-05/0.0953, allocations: 36 kB / 334.3 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.432e-05/0.09539, allocations: 99.59 kB / 334.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.09551, allocations: 133.4 kB / 334.5 MB, free: 13.85 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004154/0.09593, allocations: 0.5258 MB / 335.1 MB, free: 13.32 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.09595, allocations: 0 / 335.1 MB, free: 13.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.09595, allocations: 0 / 335.1 MB, free: 13.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.09597, allocations: 0 / 335.1 MB, free: 13.32 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.001268/0.09724, allocations: 0.8352 MB / 335.9 MB, free: 12.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.09729, allocations: 8.031 kB / 335.9 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.09741, allocations: 83.44 kB / 336 MB, free: 12.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.09753, allocations: 67.25 kB / 336.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006193/0.09816, allocations: 437.9 kB / 336.5 MB, free: 11.8 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/0.09835, allocations: 86.61 kB / 336.6 MB, free: 11.71 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.534e-05/0.09842, allocations: 39.98 kB / 336.6 MB, free: 11.67 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008754/0.0993, allocations: 0.5177 MB / 337.1 MB, free: 11.1 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.09933, allocations: 4 kB / 337.1 MB, free: 11.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.09937, allocations: 16 kB / 337.1 MB, free: 11.08 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.09939, allocations: 8 kB / 337.2 MB, free: 11.07 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008404/0.1002, allocations: 403.7 kB / 337.5 MB, free: 10.68 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.001909/0.1022, allocations: 1.382 MB / 338.9 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008813/0.103, allocations: 487.8 kB / 339.4 MB, free: 8.699 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004284/0.1035, allocations: 212.8 kB / 339.6 MB, free: 8.488 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.269e-05/0.1035, allocations: 12.64 kB / 339.6 MB, free: 8.477 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.1036, allocations: 42.56 kB / 339.7 MB, free: 8.426 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 2.264e-06/0.1036, allocations: 7.875 kB / 339.7 MB, free: 8.418 MB / 286.1 MB Notification: Performance of matching and sorting (n=37): time 0.0016/0.1052, allocations: 0.8047 MB / 340.5 MB, free: 7.562 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001741/0.1054, allocations: 448.9 kB / 340.9 MB, free: 7.02 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005/0.1059, allocations: 470 kB / 341.4 MB, free: 6.547 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.1059, allocations: 37.7 kB / 341.4 MB, free: 6.504 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.1061, allocations: 252.3 kB / 341.7 MB, free: 6.254 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.823e-05/0.1062, allocations: 130.1 kB / 341.8 MB, free: 6.125 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.817e-05/0.1062, allocations: 4 kB / 341.8 MB, free: 6.121 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1064, allocations: 358.8 kB / 342.1 MB, free: 5.762 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003828/0.1067, allocations: 171.9 kB / 342.3 MB, free: 5.594 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004746/0.1072, allocations: 318.1 kB / 342.6 MB, free: 5.23 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004128/0.1076, allocations: 213.4 kB / 342.8 MB, free: 5.016 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1077, allocations: 4 kB / 342.8 MB, free: 5.012 MB / 286.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009762/0.1086, allocations: 0.5272 MB / 343.4 MB, free: 4.465 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/0.1087, allocations: 41.69 kB / 343.4 MB, free: 4.418 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1087, allocations: 0 / 343.4 MB, free: 4.418 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000162/0.1089, allocations: 53.69 kB / 343.5 MB, free: 4.359 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/0.1093, allocations: 91.88 kB / 343.5 MB, free: 4.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.1113, allocations: 2.748 MB / 346.3 MB, free: 1.258 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004085/0.1117, allocations: 67.66 kB / 346.4 MB, free: 1.191 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.1118, allocations: 15.98 kB / 346.4 MB, free: 1.176 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.0001956/0.112, allocations: 169.8 kB / 346.5 MB, free: 1 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.051e-05/0.112, allocations: 59.3 kB / 346.6 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.773e-05/0.1121, allocations: 52.94 kB / 346.6 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1122, allocations: 7.984 kB / 346.7 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.1122, allocations: 4 kB / 346.7 MB, free: 0.875 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009464/0.1131, allocations: 0.7791 MB / 347.4 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.1147, allocations: 1.098 MB / 348.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1147, allocations: 0 / 348.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004423/0.1152, allocations: 111.8 kB / 348.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.1152, allocations: 0 / 348.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.1152, allocations: 8 kB / 348.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1152, allocations: 4 kB / 348.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1152, allocations: 0 / 348.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.1165, allocations: 0.741 MB / 349.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.1167, allocations: 164.4 kB / 349.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.219e-05/0.1168, allocations: 12 kB / 349.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.1171, allocations: 43.95 kB / 349.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.629e-05/0.1172, allocations: 19.97 kB / 349.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.1172, allocations: 16.06 kB / 349.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000349/0.1176, allocations: 330.9 kB / 350 MB, free: 13.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1176, allocations: 4 kB / 350 MB, free: 13.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000457/0.118, allocations: 155.6 kB / 350.1 MB, free: 13.2 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.001527/0.1196, allocations: 1.287 MB / 351.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.1207, allocations: 0.6957 MB / 352.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.1207, allocations: 0 / 352.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004049/0.1212, allocations: 203.8 kB / 352.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006977/0.1219, allocations: 145.9 kB / 352.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004579/0.1265, allocations: 3.137 MB / 355.6 MB, free: 7.629 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.1268, allocations: 0.8428 MB / 356.4 MB, free: 6.758 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000289/0.1271, allocations: 72.52 kB / 356.5 MB, free: 6.684 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.1274, allocations: 179.4 kB / 356.7 MB, free: 6.508 MB / 302.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1274, allocations: 0 / 356.7 MB, free: 6.508 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08105/0.2084, allocations: 12.55 MB / 369.2 MB, free: 9.941 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/0.2086, allocations: 225.9 kB / 369.4 MB, free: 9.691 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/2.546, allocations: 0 / 369.4 MB, free: 9.691 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