Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.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.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001143/0.001143, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001015/0.001015, allocations: 93.25 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.792e-05/1.794e-05, allocations: 4 kB / 343.8 MB, free: 8.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.122, allocations: 51.48 MB / 395.3 MB, free: 4.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.789/1.911, allocations: 0.5368 GB / 0.9227 GB, free: 115.5 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/1.911, allocations: 75.95 kB / 0.9228 GB, free: 115.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5541/2.465, allocations: 146.7 MB / 1.066 GB, free: 80.05 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.294e-06/2.465, allocations: 2.031 kB / 1.066 GB, free: 80.05 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.86e-05/2.465, allocations: 14.61 kB / 1.066 GB, free: 80.05 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001263/2.467, allocations: 0.6599 MB / 1.067 GB, free: 79.69 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/2.467, allocations: 10.06 kB / 1.067 GB, free: 79.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005765/2.467, allocations: 73.25 kB / 1.067 GB, free: 79.67 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/2.468, allocations: 332.7 kB / 1.067 GB, free: 79.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/2.468, allocations: 12.53 kB / 1.067 GB, free: 79.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.983e-05/2.468, allocations: 26.91 kB / 1.067 GB, free: 79.46 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004241/2.468, allocations: 255.9 kB / 1.067 GB, free: 79.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005374/2.469, allocations: 400 kB / 1.068 GB, free: 79.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/2.469, allocations: 4.875 kB / 1.068 GB, free: 79.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/2.469, allocations: 3.188 kB / 1.068 GB, free: 79.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/2.469, allocations: 9.5 kB / 1.068 GB, free: 79.32 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01041/2.479, allocations: 6.262 MB / 1.074 GB, free: 75.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005277/2.48, allocations: 252.7 kB / 1.074 GB, free: 75.54 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/2.48, allocations: 137.3 kB / 1.074 GB, free: 75.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007463/2.487, allocations: 3.498 MB / 1.078 GB, free: 74.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/2.488, allocations: 37.03 kB / 1.078 GB, free: 73.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 2.915e-06/2.488, allocations: 0 / 1.078 GB, free: 73.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.005758/2.493, allocations: 1.605 MB / 1.079 GB, free: 73.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/2.493, allocations: 59.03 kB / 1.079 GB, free: 73.56 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/2.494, allocations: 237.7 kB / 1.08 GB, free: 73.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/2.494, allocations: 25.7 kB / 1.08 GB, free: 73.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/2.494, allocations: 221.2 kB / 1.08 GB, free: 73.29 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.916e-05/2.494, allocations: 158.5 kB / 1.08 GB, free: 73.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/2.494, allocations: 0 / 1.08 GB, free: 73.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.144e-05/2.494, allocations: 347 kB / 1.08 GB, free: 72.87 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/2.494, allocations: 136.5 kB / 1.08 GB, free: 72.87 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/2.494, allocations: 252.6 kB / 1.081 GB, free: 72.74 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/2.496, allocations: 326.6 kB / 1.081 GB, free: 72.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/2.496, allocations: 4.312 kB / 1.081 GB, free: 72.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001862/2.498, allocations: 0.6732 MB / 1.082 GB, free: 72.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/2.498, allocations: 6.375 kB / 1.082 GB, free: 72.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/2.498, allocations: 3.969 kB / 1.082 GB, free: 72.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003616/2.498, allocations: 114 kB / 1.082 GB, free: 72.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003577/2.498, allocations: 109.9 kB / 1.082 GB, free: 72.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/2.501, allocations: 2.518 MB / 1.084 GB, free: 70.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/2.501, allocations: 31.47 kB / 1.084 GB, free: 70.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/2.501, allocations: 21.09 kB / 1.084 GB, free: 70.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001276/2.501, allocations: 119.7 kB / 1.085 GB, free: 70.29 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001552/2.503, allocations: 0.5444 MB / 1.085 GB, free: 70.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.626e-05/2.503, allocations: 33.91 kB / 1.085 GB, free: 70.19 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/2.504, allocations: 0.8036 MB / 1.086 GB, free: 70.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/2.504, allocations: 13.03 kB / 1.086 GB, free: 70.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/2.504, allocations: 0 / 1.086 GB, free: 70.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00105/2.505, allocations: 0.9203 MB / 1.087 GB, free: 69.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/2.507, allocations: 1.379 MB / 1.088 GB, free: 69.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/2.507, allocations: 0 / 1.088 GB, free: 69.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/2.507, allocations: 78.78 kB / 1.088 GB, free: 69.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004619/2.508, allocations: 181.8 kB / 1.088 GB, free: 69.35 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/2.508, allocations: 16.11 kB / 1.088 GB, free: 69.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008618/2.509, allocations: 1.351 MB / 1.09 GB, free: 68.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/2.509, allocations: 3.375 kB / 1.09 GB, free: 68.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/2.51, allocations: 1.174 MB / 1.091 GB, free: 68.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/2.511, allocations: 113.6 kB / 1.091 GB, free: 67.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.341e-05/2.511, allocations: 7.219 kB / 1.091 GB, free: 67.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/2.511, allocations: 21.23 kB / 1.091 GB, free: 67.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/2.511, allocations: 31.08 kB / 1.091 GB, free: 67.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/2.511, allocations: 19.23 kB / 1.091 GB, free: 67.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001563/2.511, allocations: 174.8 kB / 1.091 GB, free: 67.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/2.511, allocations: 7.875 kB / 1.091 GB, free: 67.87 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001076/2.512, allocations: 225.8 kB / 1.091 GB, free: 67.84 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002801/2.515, allocations: 2.136 MB / 1.094 GB, free: 66.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001086/2.516, allocations: 0.6454 MB / 1.094 GB, free: 66.86 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/2.516, allocations: 3.375 kB / 1.094 GB, free: 66.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005246/2.517, allocations: 388.2 kB / 1.095 GB, free: 66.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/2.518, allocations: 180.6 kB / 1.095 GB, free: 66.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/2.52, allocations: 1.078 MB / 1.096 GB, free: 66.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/2.52, allocations: 0.8479 MB / 1.097 GB, free: 65.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003015/2.52, allocations: 57.25 kB / 1.097 GB, free: 65.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/2.52, allocations: 158.3 kB / 1.097 GB, free: 65.69 MB / 442.7 MB Notification: Performance of SimCode: time 9.92e-07/2.521, allocations: 4 kB / 1.097 GB, free: 65.68 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04482/2.565, allocations: 15.01 MB / 1.111 GB, free: 64.94 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/2.566, allocations: 133.5 kB / 1.112 GB, free: 64.75 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.961/5.527, allocations: 0.75 kB / 1.112 GB, free: 64.75 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat does not exist to compare? outputFormat=mat