Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001953/0.001953, allocations: 202.1 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.594/1.594, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008191/0.0008191, allocations: 99.33 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.545e-05/1.548e-05, allocations: 0 / 343.8 MB, free: 8.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1065, allocations: 51.48 MB / 395.3 MB, free: 4.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3389/0.4455, allocations: 81.11 MB / 476.4 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/0.4457, allocations: 69.42 kB / 476.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02237/0.4681, allocations: 9.885 MB / 486.3 MB, free: 3.773 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4681, allocations: 0 / 486.3 MB, free: 3.773 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.606e-05/0.4682, allocations: 12 kB / 486.3 MB, free: 3.762 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001046/0.4692, allocations: 0.7358 MB / 487.1 MB, free: 3.012 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.4693, allocations: 8.031 kB / 487.1 MB, free: 3.004 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.4694, allocations: 63.34 kB / 487.1 MB, free: 2.941 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005284/0.4699, allocations: 399 kB / 487.5 MB, free: 2.562 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.759e-05/0.47, allocations: 50.09 kB / 487.6 MB, free: 2.512 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.616e-05/0.4701, allocations: 19.17 kB / 487.6 MB, free: 2.496 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00042/0.4705, allocations: 257.1 kB / 487.8 MB, free: 2.336 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004746/0.471, allocations: 397.5 kB / 488.2 MB, free: 1.984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.471, allocations: 3.938 kB / 488.2 MB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.4711, allocations: 7.984 kB / 488.2 MB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.4711, allocations: 8 kB / 488.2 MB, free: 1.965 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.4729, allocations: 1.205 MB / 489.5 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/0.4733, allocations: 348.1 kB / 489.8 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.4735, allocations: 139.4 kB / 489.9 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/0.4735, allocations: 11.19 kB / 489.9 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.4736, allocations: 42.25 kB / 490 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 1.763e-06/0.4736, allocations: 0 / 490 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006497/0.4742, allocations: 347 kB / 490.3 MB, free: 304 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.4744, allocations: 448.7 kB / 490.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003818/0.4748, allocations: 361.1 kB / 491.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.4748, allocations: 29.7 kB / 491.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.475, allocations: 240.2 kB / 491.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.346e-05/0.475, allocations: 124.1 kB / 491.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.76e-05/0.4751, allocations: 0 / 491.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4752, allocations: 358.5 kB / 491.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.4754, allocations: 99.41 kB / 491.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.4756, allocations: 231.7 kB / 492.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.4758, allocations: 127.8 kB / 492.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4758, allocations: 0 / 492.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006066/0.4765, allocations: 387.2 kB / 492.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.4765, allocations: 29.7 kB / 492.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4765, allocations: 3.984 kB / 492.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002144/0.4767, allocations: 59.53 kB / 492.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/0.4772, allocations: 91.39 kB / 492.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.479, allocations: 2.631 MB / 495.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003768/0.4794, allocations: 51.7 kB / 495.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.4795, allocations: 15.86 kB / 495.5 MB, free: 11.25 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: pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.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 (38): * Single equations (assignments): 35 * 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.0001831/0.4797, allocations: 116.9 kB / 495.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005672/0.4802, allocations: 359.9 kB / 496 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.758e-05/0.4803, allocations: 55.42 kB / 496.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.4804, allocations: 49.84 kB / 496.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4804, allocations: 4 kB / 496.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.4804, allocations: 4 kB / 496.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004885/0.4809, allocations: 0.6441 MB / 496.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.4821, allocations: 0.8809 MB / 497.7 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4821, allocations: 3.953 kB / 497.7 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004671/0.4826, allocations: 99.69 kB / 497.8 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.4826, allocations: 4 kB / 497.8 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.4827, allocations: 3.984 kB / 497.8 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4827, allocations: 1.781 kB / 497.8 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.4827, allocations: 4 kB / 497.8 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006747/0.4833, allocations: 0.525 MB / 498.3 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.4835, allocations: 175.8 kB / 498.5 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.857e-05/0.4836, allocations: 8.062 kB / 498.5 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003132/0.4839, allocations: 23.98 kB / 498.5 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/0.484, allocations: 23.27 kB / 498.5 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.484, allocations: 8 kB / 498.5 MB, free: 8.625 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002719/0.4843, allocations: 279.1 kB / 498.8 MB, free: 8.422 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4843, allocations: 0 / 498.8 MB, free: 8.422 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004663/0.4848, allocations: 139.5 kB / 498.9 MB, free: 8.289 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 (36): * Single equations (assignments): 36 * 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.0009487/0.4858, allocations: 1.092 MB / 0.4883 GB, free: 7.316 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007381/0.4865, allocations: 0.549 MB / 0.4888 GB, free: 6.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4865, allocations: 0 / 0.4888 GB, free: 6.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.4867, allocations: 134.7 kB / 0.489 GB, free: 6.754 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005475/0.4873, allocations: 114.1 kB / 0.4891 GB, free: 6.672 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.4887, allocations: 0.706 MB / 0.4898 GB, free: 5.992 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.4891, allocations: 0.8428 MB / 0.4906 GB, free: 5.125 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002611/0.4894, allocations: 52.16 kB / 0.4906 GB, free: 5.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.4896, allocations: 167.4 kB / 0.4908 GB, free: 5.02 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4896, allocations: 0 / 0.4908 GB, free: 5.02 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03318/0.5228, allocations: 10.58 MB / 0.5011 GB, free: 10.66 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/0.5231, allocations: 137.3 kB / 0.5013 GB, free: 10.46 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.15/2.673, allocations: 7.938 kB / 0.5013 GB, free: 10.46 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat