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.00161/0.00161, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.2 MB / 245 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009226/0.0009226, allocations: 100.4 kB / 297.3 MB, free: 5.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002549/0.0002551, allocations: 8 kB / 358 MB, free: 9.238 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2208, allocations: 51.48 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.2/12.42, allocations: 6.124 GB / 6.524 GB, free: 148.8 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/12.42, allocations: 81.02 kB / 6.524 GB, free: 148.8 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.08/14.5, allocations: 0.6448 GB / 7.169 GB, free: 46.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.675e-06/14.5, allocations: 0 / 7.169 GB, free: 46.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.016e-05/14.5, allocations: 20.66 kB / 7.169 GB, free: 46.73 MB / 490.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.01143/14.51, allocations: 2.381 MB / 7.171 GB, free: 45.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/14.51, allocations: 10.44 kB / 7.171 GB, free: 45.18 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002067/14.51, allocations: 112.3 kB / 7.171 GB, free: 45.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004097/14.51, allocations: 83.41 kB / 7.171 GB, free: 45.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008063/14.51, allocations: 440.9 kB / 7.172 GB, free: 44.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.098e-05/14.51, allocations: 47.81 kB / 7.172 GB, free: 44.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.493e-05/14.51, allocations: 59.78 kB / 7.172 GB, free: 44.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/14.51, allocations: 0.7878 MB / 7.172 GB, free: 44.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/14.51, allocations: 3.906 kB / 7.172 GB, free: 44.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.295e-05/14.51, allocations: 35.19 kB / 7.172 GB, free: 44.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/14.51, allocations: 13.84 kB / 7.172 GB, free: 44.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/14.52, allocations: 0.9953 MB / 7.173 GB, free: 44.06 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01361/14.53, allocations: 12.44 MB / 7.186 GB, free: 32.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/14.53, allocations: 0.7811 MB / 7.186 GB, free: 31.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03656/14.57, allocations: 30.66 MB / 7.216 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/14.57, allocations: 43.16 kB / 7.216 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=78): time 4.478e-06/14.57, allocations: 3.656 kB / 7.216 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88): time 0.01087/14.58, allocations: 3.505 MB / 7.22 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/14.58, allocations: 59.25 kB / 7.22 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003573/14.58, allocations: 322.9 kB / 7.22 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.066e-05/14.58, allocations: 40.98 kB / 7.22 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/14.58, allocations: 241.2 kB / 7.22 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/14.58, allocations: 302.8 kB / 7.221 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/14.58, allocations: 17.56 kB / 7.221 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001689/14.58, allocations: 367.9 kB / 7.221 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005434/14.58, allocations: 356.5 kB / 7.221 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007423/14.58, allocations: 479.8 kB / 7.222 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007316/14.58, allocations: 422.3 kB / 7.222 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/14.58, allocations: 7.953 kB / 7.222 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002175/14.58, allocations: 1.088 MB / 7.223 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/14.58, allocations: 8 kB / 7.223 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/14.58, allocations: 0 / 7.223 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00078/14.58, allocations: 173.2 kB / 7.224 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007119/14.59, allocations: 195.6 kB / 7.224 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002866/14.59, allocations: 3.923 MB / 7.228 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006481/14.59, allocations: 61.59 kB / 7.228 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.933e-05/14.59, allocations: 51.97 kB / 7.228 GB, free: 5.066 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 () * Number of clocked 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.0004408/14.59, allocations: 225.6 kB / 7.228 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000352/14.59, allocations: 63.3 kB / 7.228 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/14.59, allocations: 1.325 MB / 7.229 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/14.59, allocations: 15.89 kB / 7.229 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/14.59, allocations: 0 / 7.229 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001702/14.59, allocations: 1.331 MB / 7.231 GB, free: 1.941 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2782/14.87, allocations: 1.987 MB / 7.232 GB, free: 66.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/14.87, allocations: 1.734 kB / 7.232 GB, free: 66.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/14.87, allocations: 177.3 kB / 7.233 GB, free: 66.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001931/14.88, allocations: 297.8 kB / 7.233 GB, free: 66.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001577/14.88, allocations: 32.42 kB / 7.233 GB, free: 66.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000717/14.88, allocations: 1.298 MB / 7.234 GB, free: 65.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/14.88, allocations: 5.812 kB / 7.234 GB, free: 65.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003042/14.88, allocations: 1.461 MB / 7.236 GB, free: 65.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003801/14.88, allocations: 137.9 kB / 7.236 GB, free: 65.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/14.88, allocations: 23.91 kB / 7.236 GB, free: 65.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008158/14.88, allocations: 50.34 kB / 7.236 GB, free: 65.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/14.88, allocations: 58.44 kB / 7.236 GB, free: 65.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/14.88, allocations: 55.55 kB / 7.236 GB, free: 65.05 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004897/14.88, allocations: 281.2 kB / 7.236 GB, free: 64.97 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.81e-07/14.88, allocations: 0 / 7.236 GB, free: 64.97 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01241/14.89, allocations: 2.285 MB / 7.238 GB, free: 64.97 MB / 0.4948 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 () * Number of clocked 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.01744/14.91, allocations: 5.271 MB / 7.244 GB, free: 64.03 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00232/14.91, allocations: 1.168 MB / 7.245 GB, free: 63.78 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/14.91, allocations: 3.875 kB / 7.245 GB, free: 63.78 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/14.91, allocations: 0.497 MB / 7.245 GB, free: 63.76 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/14.92, allocations: 363 kB / 7.246 GB, free: 63.76 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/14.93, allocations: 7.05 MB / 7.252 GB, free: 60.72 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/14.93, allocations: 0.9357 MB / 7.253 GB, free: 60 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009321/14.93, allocations: 203.9 kB / 7.254 GB, free: 59.99 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003653/14.93, allocations: 231.5 kB / 7.254 GB, free: 59.98 MB / 0.4948 GB Notification: Performance of SimCode: time 1.202e-06/14.93, allocations: 0 / 7.254 GB, free: 59.98 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1075/15.04, allocations: 76.93 MB / 7.329 GB, free: 57.04 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/15.04, allocations: 236.8 kB / 7.329 GB, free: 56.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.418/19.46, allocations: 0 / 7.329 GB, free: 56.8 MB / 0.4948 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