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.0008022/0.0008022, allocations: 94.75 kB / 17 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00094/0.0009401, allocations: 193.4 kB / 17.91 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002515/0.0002516, allocations: 4 kB / 306.8 MB, free: 1.234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1111, allocations: 51.48 MB / 358.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003847/0.115, allocations: 3.247 MB / 361.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.1168, allocations: 0.9156 MB / 362.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.117, allocations: 11.94 kB / 362.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.1173, allocations: 83.39 kB / 362.6 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.1177, allocations: 170.6 kB / 362.7 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.1179, allocations: 103.8 kB / 362.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007937/0.1187, allocations: 0.6259 MB / 363.5 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002729/0.119, allocations: 167.1 kB / 363.6 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002428/0.1192, allocations: 231.1 kB / 363.8 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003004/0.1196, allocations: 274.8 kB / 364.1 MB, free: 7.906 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.768e-05/0.1196, allocations: 36 kB / 364.1 MB, free: 7.871 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.64e-05/0.1197, allocations: 36 kB / 364.2 MB, free: 7.836 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.963e-05/0.1198, allocations: 99.59 kB / 364.3 MB, free: 7.738 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.1199, allocations: 137.4 kB / 364.4 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004519/0.1204, allocations: 0.5296 MB / 364.9 MB, free: 7.066 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1204, allocations: 0 / 364.9 MB, free: 7.066 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1204, allocations: 4 kB / 364.9 MB, free: 7.062 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1204, allocations: 0 / 364.9 MB, free: 7.062 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.001472/0.1219, allocations: 0.8418 MB / 365.8 MB, free: 6.168 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.122, allocations: 12.03 kB / 365.8 MB, free: 6.156 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001418/0.1221, allocations: 79.42 kB / 365.9 MB, free: 6.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.1222, allocations: 71.25 kB / 365.9 MB, free: 6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006991/0.1229, allocations: 421.9 kB / 366.4 MB, free: 5.547 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.1232, allocations: 90.61 kB / 366.4 MB, free: 5.453 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.19e-05/0.1232, allocations: 39.91 kB / 366.5 MB, free: 5.414 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.1243, allocations: 0.5215 MB / 367 MB, free: 4.836 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.1243, allocations: 7.984 kB / 367 MB, free: 4.828 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.873e-05/0.1244, allocations: 16 kB / 367 MB, free: 4.812 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.1244, allocations: 8 kB / 367 MB, free: 4.805 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009237/0.1253, allocations: 403.7 kB / 367.4 MB, free: 4.414 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.002316/0.1277, allocations: 1.37 MB / 368.8 MB, free: 2.949 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009615/0.1286, allocations: 492.2 kB / 369.3 MB, free: 2.438 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004551/0.1291, allocations: 216.8 kB / 369.5 MB, free: 2.223 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/0.1291, allocations: 4 kB / 369.5 MB, free: 2.219 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/0.1292, allocations: 38.56 kB / 369.5 MB, free: 2.172 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.933e-06/0.1292, allocations: 0 / 369.5 MB, free: 2.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.00182/0.131, allocations: 0.8107 MB / 370.3 MB, free: 1.312 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002187/0.1313, allocations: 449 kB / 370.8 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005713/0.1318, allocations: 478 kB / 371.3 MB, free: 300 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.1319, allocations: 29.7 kB / 371.3 MB, free: 264 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.1321, allocations: 252.4 kB / 371.5 MB, free: 8 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2212/0.3533, allocations: 118.8 kB / 371.6 MB, free: 19.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.3534, allocations: 6.438 kB / 371.6 MB, free: 19.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.3536, allocations: 362.6 kB / 372 MB, free: 18.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005502/0.3541, allocations: 164.5 kB / 372.2 MB, free: 18.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/0.3547, allocations: 320.1 kB / 372.5 MB, free: 18.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005312/0.3552, allocations: 213.5 kB / 372.7 MB, free: 18.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.468e-05/0.3553, allocations: 0 / 372.7 MB, free: 18.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001307/0.3566, allocations: 0.5364 MB / 373.2 MB, free: 18.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/0.3567, allocations: 34.8 kB / 373.3 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.3567, allocations: 2.078 kB / 373.3 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001817/0.3569, allocations: 51 kB / 373.3 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004625/0.3573, allocations: 96.83 kB / 373.4 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/0.3594, allocations: 2.737 MB / 376.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005249/0.3599, allocations: 74.64 kB / 376.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.593e-05/0.36, allocations: 9.094 kB / 376.2 MB, free: 15.94 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.0003364/0.3603, allocations: 173.8 kB / 376.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.3604, allocations: 55.77 kB / 376.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.3606, allocations: 58.42 kB / 376.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.3606, allocations: 4.469 kB / 376.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.3606, allocations: 0 / 376.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001048/0.3616, allocations: 0.7892 MB / 377.3 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/0.364, allocations: 1.099 MB / 378.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.364, allocations: 1.375 kB / 378.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004975/0.3645, allocations: 106.6 kB / 378.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.3645, allocations: 2 kB / 378.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.3646, allocations: 10.67 kB / 378.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.3646, allocations: 5.438 kB / 378.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3646, allocations: 1.375 kB / 378.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.3661, allocations: 0.7393 MB / 379.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.3663, allocations: 176.4 kB / 379.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.444e-05/0.3664, allocations: 11.91 kB / 379.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003689/0.3668, allocations: 40.27 kB / 379.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.66e-05/0.3669, allocations: 24.64 kB / 379.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.3669, allocations: 9.312 kB / 379.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004168/0.3674, allocations: 347.3 kB / 379.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3674, allocations: 0 / 379.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006238/0.368, allocations: 142.6 kB / 380 MB, free: 14.36 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.001545/0.3695, allocations: 1.295 MB / 381.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001366/0.3709, allocations: 0.6843 MB / 382 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3709, allocations: 5.688 kB / 382 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004385/0.3714, allocations: 203 kB / 382.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007048/0.3721, allocations: 140.8 kB / 382.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005258/0.3774, allocations: 3.121 MB / 385.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.3778, allocations: 0.8416 MB / 386.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003776/0.3782, allocations: 73.94 kB / 386.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/0.3784, allocations: 181.5 kB / 386.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3784, allocations: 3.938 kB / 386.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03106/0.4095, allocations: 12.55 MB / 399.1 MB, free: 4.984 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000153/0.4097, allocations: 227.8 kB / 399.3 MB, free: 4.742 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.094/2.503, allocations: 4 kB / 399.3 MB, free: 4.738 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