Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001819/0.001819, allocations: 196.2 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.532/1.532, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001094/0.001094, allocations: 91.16 kB / 292.1 MB, free: 5.918 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.105e-05/5.15e-05, allocations: 0 / 350.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1575, allocations: 51.48 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.87/18.03, allocations: 6.124 GB / 6.516 GB, free: 44.29 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/18.03, allocations: 79.08 kB / 6.517 GB, free: 44.25 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.968/21, allocations: 0.644 GB / 7.161 GB, free: 32.63 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.483e-06/21, allocations: 0 / 7.161 GB, free: 32.63 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.726e-05/21, allocations: 16.69 kB / 7.161 GB, free: 32.63 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01107/21.01, allocations: 2.338 MB / 7.163 GB, free: 31.38 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/21.01, allocations: 9.281 kB / 7.163 GB, free: 31.38 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003402/21.01, allocations: 104.6 kB / 7.163 GB, free: 31.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006791/21.01, allocations: 83.98 kB / 7.163 GB, free: 31.31 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009875/21.01, allocations: 440.8 kB / 7.163 GB, free: 31.06 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/21.01, allocations: 50.66 kB / 7.163 GB, free: 31.06 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/21.01, allocations: 65.84 kB / 7.164 GB, free: 31.05 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/21.01, allocations: 0.7729 MB / 7.164 GB, free: 31 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/21.01, allocations: 2.688 kB / 7.164 GB, free: 31 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/21.01, allocations: 27.72 kB / 7.164 GB, free: 31 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/21.01, allocations: 14.81 kB / 7.164 GB, free: 31 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/21.01, allocations: 0.9767 MB / 7.165 GB, free: 31 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01592/21.03, allocations: 12.47 MB / 7.177 GB, free: 20.01 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/21.03, allocations: 0.7696 MB / 7.178 GB, free: 19.97 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005938/21.03, allocations: 392.1 kB / 7.179 GB, free: 19.96 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03768/21.07, allocations: 30.74 MB / 7.209 GB, free: 21.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.585e-05/21.07, allocations: 46.34 kB / 7.209 GB, free: 21.05 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=78): time 5.47e-06/21.07, allocations: 0 / 7.209 GB, free: 21.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88): time 0.01129/21.08, allocations: 3.034 MB / 7.212 GB, free: 20.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/21.08, allocations: 66.77 kB / 7.212 GB, free: 20.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000538/21.08, allocations: 321.6 kB / 7.212 GB, free: 20.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001739/21.08, allocations: 43.48 kB / 7.212 GB, free: 20.37 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/21.08, allocations: 238.7 kB / 7.212 GB, free: 20.22 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002852/21.08, allocations: 305.4 kB / 7.213 GB, free: 20.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/21.08, allocations: 17.66 kB / 7.213 GB, free: 20.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002083/21.08, allocations: 365 kB / 7.213 GB, free: 19.72 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005752/21.08, allocations: 343.1 kB / 7.213 GB, free: 19.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009215/21.08, allocations: 464.3 kB / 7.214 GB, free: 19.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009145/21.09, allocations: 418.8 kB / 7.214 GB, free: 19.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/21.09, allocations: 7.859 kB / 7.214 GB, free: 19.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002738/21.09, allocations: 1.071 MB / 7.215 GB, free: 19.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.059e-05/21.09, allocations: 12.55 kB / 7.215 GB, free: 19.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/21.09, allocations: 0 / 7.215 GB, free: 19.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009842/21.09, allocations: 177.2 kB / 7.215 GB, free: 19.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007949/21.09, allocations: 187.3 kB / 7.216 GB, free: 19.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003657/21.09, allocations: 3.919 MB / 7.219 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008143/21.09, allocations: 69.73 kB / 7.219 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002017/21.1, allocations: 50.84 kB / 7.219 GB, free: 15.73 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004595/21.1, allocations: 145.7 kB / 7.22 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007267/21.1, allocations: 68.23 kB / 7.22 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00291/21.1, allocations: 1.313 MB / 7.221 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/21.1, allocations: 6.469 kB / 7.221 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/21.1, allocations: 0 / 7.221 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002782/21.1, allocations: 1.308 MB / 7.222 GB, free: 30.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00378/21.11, allocations: 1.985 MB / 7.224 GB, free: 30.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/21.11, allocations: 0 / 7.224 GB, free: 30.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000729/21.11, allocations: 178.9 kB / 7.224 GB, free: 30.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001728/21.11, allocations: 301.4 kB / 7.225 GB, free: 30.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.186e-05/21.11, allocations: 30.3 kB / 7.225 GB, free: 30.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008415/21.11, allocations: 1.296 MB / 7.226 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/21.11, allocations: 2.844 kB / 7.226 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002735/21.11, allocations: 1.418 MB / 7.227 GB, free: 28.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003324/21.11, allocations: 146 kB / 7.227 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/21.11, allocations: 18.78 kB / 7.227 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000721/21.11, allocations: 62.25 kB / 7.228 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/21.11, allocations: 57 kB / 7.228 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/21.11, allocations: 52.94 kB / 7.228 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003624/21.11, allocations: 278.2 kB / 7.228 GB, free: 28.69 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/21.11, allocations: 0 / 7.228 GB, free: 28.69 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0119/21.13, allocations: 2.29 MB / 7.23 GB, free: 28.23 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02179/21.15, allocations: 5.246 MB / 7.235 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003462/21.15, allocations: 1.148 MB / 7.236 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/21.15, allocations: 3.594 kB / 7.236 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00126/21.15, allocations: 499.4 kB / 7.237 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/21.15, allocations: 357.8 kB / 7.237 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/21.17, allocations: 2.464 MB / 7.24 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006798/21.17, allocations: 0.9289 MB / 7.241 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001236/21.17, allocations: 211.3 kB / 7.241 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004714/21.17, allocations: 232 kB / 7.241 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.403e-06/21.17, allocations: 0 / 7.241 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5329/21.7, allocations: 79.93 MB / 7.319 GB, free: 75.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/21.7, allocations: 223.2 kB / 7.319 GB, free: 75.37 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.161/26.86, allocations: 0 / 7.319 GB, free: 75.37 MB / 0.5105 GB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat does not exist to compare? outputFormat=mat