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.001527/0.001528, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 86.97 kB / 292.1 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.371e-05/4.387e-05, allocations: 4 kB / 350.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1392, allocations: 51.49 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.568/1.707, allocations: 0.5374 GB / 0.9301 GB, free: 8.191 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/1.708, allocations: 76.45 kB / 0.9302 GB, free: 8.117 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6649/2.373, allocations: 147.3 MB / 1.074 GB, free: 51.66 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.836e-06/2.373, allocations: 0 / 1.074 GB, free: 51.66 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.153e-05/2.373, allocations: 16 kB / 1.074 GB, free: 51.64 MB / 458.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.002418/2.375, allocations: 0.6667 MB / 1.075 GB, free: 50.94 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.453e-05/2.375, allocations: 15.97 kB / 1.075 GB, free: 50.93 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002188/2.375, allocations: 74.53 kB / 1.075 GB, free: 50.84 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008994/2.376, allocations: 71.5 kB / 1.075 GB, free: 50.77 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007722/2.377, allocations: 331.1 kB / 1.075 GB, free: 50.41 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.839e-05/2.377, allocations: 28.78 kB / 1.075 GB, free: 50.38 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.154e-05/2.377, allocations: 51.59 kB / 1.075 GB, free: 50.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000871/2.378, allocations: 456.3 kB / 1.076 GB, free: 49.84 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/2.378, allocations: 4 kB / 1.076 GB, free: 49.84 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.461e-05/2.378, allocations: 20 kB / 1.076 GB, free: 49.82 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/2.378, allocations: 8 kB / 1.076 GB, free: 49.81 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004724/2.379, allocations: 294.9 kB / 1.076 GB, free: 49.52 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01066/2.389, allocations: 6.339 MB / 1.082 GB, free: 42.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004437/2.39, allocations: 270.8 kB / 1.082 GB, free: 42.33 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/2.39, allocations: 146.6 kB / 1.083 GB, free: 42.18 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00732/2.398, allocations: 3.509 MB / 1.086 GB, free: 38.38 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/2.398, allocations: 38.5 kB / 1.086 GB, free: 38.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 4.017e-06/2.398, allocations: 0 / 1.086 GB, free: 38.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.009613/2.407, allocations: 2.276 MB / 1.088 GB, free: 36.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/2.407, allocations: 55.41 kB / 1.088 GB, free: 35.95 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/2.408, allocations: 267.3 kB / 1.089 GB, free: 35.68 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/2.408, allocations: 33.7 kB / 1.089 GB, free: 35.64 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.949e-05/2.408, allocations: 231.9 kB / 1.089 GB, free: 35.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.233e-05/2.408, allocations: 161.7 kB / 1.089 GB, free: 35.25 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/2.408, allocations: 8 kB / 1.089 GB, free: 35.25 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/2.408, allocations: 346.8 kB / 1.089 GB, free: 34.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/2.408, allocations: 141.1 kB / 1.089 GB, free: 34.76 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/2.408, allocations: 272.5 kB / 1.09 GB, free: 34.45 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/2.409, allocations: 189.5 kB / 1.09 GB, free: 34.27 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/2.409, allocations: 0 / 1.09 GB, free: 34.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008572/2.41, allocations: 0.5876 MB / 1.09 GB, free: 33.66 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/2.41, allocations: 10.5 kB / 1.09 GB, free: 33.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/2.41, allocations: 8 kB / 1.09 GB, free: 33.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007898/2.418, allocations: 0.8688 MB / 1.091 GB, free: 32.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/2.418, allocations: 103.9 kB / 1.091 GB, free: 32.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/2.42, allocations: 2.457 MB / 1.094 GB, free: 30.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/2.42, allocations: 39.83 kB / 1.094 GB, free: 29.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/2.42, allocations: 23.98 kB / 1.094 GB, free: 29.96 MB / 458.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.0001513/2.42, allocations: 140.9 kB / 1.094 GB, free: 29.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.526e-05/2.42, allocations: 35.62 kB / 1.094 GB, free: 29.78 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/2.421, allocations: 0.8585 MB / 1.095 GB, free: 28.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/2.421, allocations: 11.94 kB / 1.095 GB, free: 28.89 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/2.422, allocations: 0 / 1.095 GB, free: 28.89 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008342/2.422, allocations: 0.9496 MB / 1.096 GB, free: 27.86 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/2.424, allocations: 1.488 MB / 1.097 GB, free: 26.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/2.424, allocations: 0 / 1.097 GB, free: 26.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/2.424, allocations: 71.91 kB / 1.097 GB, free: 26.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002722/2.427, allocations: 0.5867 MB / 1.098 GB, free: 25.64 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/2.427, allocations: 12 kB / 1.098 GB, free: 25.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007048/2.428, allocations: 1.277 MB / 1.099 GB, free: 24.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/2.428, allocations: 0 / 1.099 GB, free: 24.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/2.429, allocations: 1.213 MB / 1.1 GB, free: 23.06 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/2.429, allocations: 128.4 kB / 1.1 GB, free: 22.92 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.082e-05/2.429, allocations: 12.09 kB / 1.1 GB, free: 22.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/2.43, allocations: 20 kB / 1.1 GB, free: 22.89 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/2.43, allocations: 35.89 kB / 1.101 GB, free: 22.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/2.43, allocations: 19.98 kB / 1.101 GB, free: 22.83 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000184/2.43, allocations: 203.1 kB / 1.101 GB, free: 22.63 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/2.43, allocations: 4 kB / 1.101 GB, free: 22.63 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001139/2.431, allocations: 247.9 kB / 1.101 GB, free: 22.39 MB / 458.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 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002512/2.434, allocations: 2.167 MB / 1.103 GB, free: 20.19 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/2.435, allocations: 0.6751 MB / 1.104 GB, free: 19.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/2.435, allocations: 0 / 1.104 GB, free: 19.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008867/2.436, allocations: 436.4 kB / 1.104 GB, free: 19.07 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/2.437, allocations: 232.8 kB / 1.104 GB, free: 18.85 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/2.438, allocations: 1.122 MB / 1.105 GB, free: 17.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/2.439, allocations: 0.8402 MB / 1.106 GB, free: 16.81 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002807/2.439, allocations: 68.34 kB / 1.106 GB, free: 16.74 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/2.439, allocations: 167.4 kB / 1.107 GB, free: 16.58 MB / 458.7 MB Notification: Performance of SimCode: time 5.01e-07/2.439, allocations: 0 / 1.107 GB, free: 16.58 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3521/2.791, allocations: 17.75 MB / 1.124 GB, free: 95.41 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/2.792, allocations: 176.5 kB / 1.124 GB, free: 95.18 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.959/5.75, allocations: 0 / 1.124 GB, free: 95.18 MB / 458.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