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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.0009884/0.0009883, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008361/0.0008362, allocations: 94.31 kB / 286.7 MB, free: 5.227 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.776e-05/1.769e-05, allocations: 0 / 343.8 MB, free: 8.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1276, allocations: 51.48 MB / 395.3 MB, free: 4.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4277/0.5553, allocations: 81.41 MB / 476.7 MB, free: 10.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/0.5556, allocations: 74.44 kB / 476.7 MB, free: 10.87 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02448/0.5801, allocations: 10.15 MB / 486.9 MB, free: 3.211 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5801, allocations: 0 / 486.9 MB, free: 3.211 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.775e-05/0.5802, allocations: 15.98 kB / 486.9 MB, free: 3.195 MB / 346.7 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.001247/0.5814, allocations: 0.7579 MB / 487.7 MB, free: 2.426 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.5815, allocations: 15.75 kB / 487.7 MB, free: 2.414 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.5816, allocations: 67.23 kB / 487.7 MB, free: 2.348 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005555/0.5822, allocations: 395.8 kB / 488.1 MB, free: 1.977 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.708e-05/0.5823, allocations: 54.08 kB / 488.2 MB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.624e-05/0.5824, allocations: 24 kB / 488.2 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004305/0.5828, allocations: 266.1 kB / 488.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/0.5833, allocations: 414.2 kB / 488.9 MB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.5834, allocations: 0 / 488.9 MB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.5834, allocations: 0 / 488.9 MB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.5834, allocations: 8 kB / 488.9 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.5853, allocations: 1.248 MB / 490.1 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005886/0.5859, allocations: 426.7 kB / 490.5 MB, free: 0 / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.5862, allocations: 149 kB / 490.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.259e-05/0.5862, allocations: 4 kB / 490.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.5862, allocations: 41.94 kB / 490.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 1.573e-06/0.5863, allocations: 0 / 490.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.0007401/0.587, allocations: 371.4 kB / 491.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002124/0.5872, allocations: 452.6 kB / 491.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004257/0.5877, allocations: 359.8 kB / 491.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.611e-05/0.5877, allocations: 25.7 kB / 491.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.5879, allocations: 249.2 kB / 492.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.588, allocations: 129.7 kB / 492.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.956e-05/0.588, allocations: 0 / 492.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5882, allocations: 360.2 kB / 492.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.5883, allocations: 105.2 kB / 492.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.5886, allocations: 237.5 kB / 493 MB, free: 13.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.5888, allocations: 123 kB / 493.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5889, allocations: 4 kB / 493.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006347/0.5895, allocations: 396.5 kB / 493.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.269e-05/0.5896, allocations: 36.94 kB / 493.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.5896, allocations: 3.938 kB / 493.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002266/0.5898, allocations: 53.75 kB / 493.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004428/0.5903, allocations: 98.59 kB / 493.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/0.5924, allocations: 2.631 MB / 496.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004683/0.5929, allocations: 55.8 kB / 496.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.5929, allocations: 8 kB / 496.4 MB, free: 10.5 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 37 * 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.0002253/0.5932, allocations: 129.1 kB / 496.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006559/0.5938, allocations: 368.6 kB / 496.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.755e-05/0.5939, allocations: 55.38 kB / 496.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.5941, allocations: 52.98 kB / 497 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.5941, allocations: 4 kB / 497 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.5941, allocations: 0 / 497 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005707/0.5947, allocations: 0.6548 MB / 497.6 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.596, allocations: 0.9148 MB / 498.5 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.596, allocations: 0 / 498.5 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004857/0.5965, allocations: 103.6 kB / 498.6 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.5965, allocations: 0 / 498.6 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.5966, allocations: 0 / 498.6 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.5966, allocations: 8 kB / 498.6 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5966, allocations: 0 / 498.6 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007384/0.5973, allocations: 0.5556 MB / 499.2 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/0.5976, allocations: 164.1 kB / 499.4 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.707e-05/0.5976, allocations: 5.781 kB / 499.4 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/0.598, allocations: 36.03 kB / 499.4 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.5981, allocations: 27.83 kB / 499.4 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.5981, allocations: 7.625 kB / 499.4 MB, free: 7.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003353/0.5984, allocations: 281.1 kB / 499.7 MB, free: 7.613 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5984, allocations: 0 / 499.7 MB, free: 7.613 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005259/0.599, allocations: 139.2 kB / 499.8 MB, free: 7.48 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.001137/0.6001, allocations: 1.125 MB / 0.4892 GB, free: 6.484 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008347/0.601, allocations: 0.5511 MB / 0.4898 GB, free: 6.008 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.601, allocations: 0 / 0.4898 GB, free: 6.008 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.6012, allocations: 146.4 kB / 0.4899 GB, free: 5.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005851/0.6018, allocations: 122.4 kB / 0.49 GB, free: 5.824 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.6034, allocations: 0.7175 MB / 0.4907 GB, free: 5.137 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.6038, allocations: 0.8499 MB / 0.4916 GB, free: 4.266 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002707/0.6041, allocations: 56.25 kB / 0.4916 GB, free: 4.207 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.6044, allocations: 169.1 kB / 0.4918 GB, free: 4.156 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.6044, allocations: 0 / 0.4918 GB, free: 4.156 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05046/0.6548, allocations: 10.77 MB / 0.5023 GB, free: 9.59 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003523/0.6553, allocations: 140.6 kB / 0.5024 GB, free: 9.398 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.176/2.831, allocations: 3.938 kB / 0.5024 GB, free: 9.395 MB / 378.7 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