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.001267/0.001267, allocations: 202.2 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.383/1.383, allocations: 227.2 MB / 245 MB, free: 7.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001145/0.001145, allocations: 101.5 kB / 297.3 MB, free: 6.164 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002339/0.0002341, allocations: 8 kB / 358 MB, free: 9.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2521, allocations: 51.48 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.097/1.349, allocations: 0.5375 GB / 0.9374 GB, free: 92 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/1.35, allocations: 75.97 kB / 0.9374 GB, free: 91.92 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4741/1.824, allocations: 148.2 MB / 1.082 GB, free: 119.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.593e-06/1.824, allocations: 0 / 1.082 GB, free: 119.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.223e-05/1.824, allocations: 7.656 kB / 1.082 GB, free: 119.8 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.001233/1.825, allocations: 0.7046 MB / 1.083 GB, free: 119.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/1.825, allocations: 11.38 kB / 1.083 GB, free: 119.2 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/1.825, allocations: 82.12 kB / 1.083 GB, free: 119.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000553/1.826, allocations: 78.42 kB / 1.083 GB, free: 119.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/1.826, allocations: 332.5 kB / 1.083 GB, free: 118.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/1.826, allocations: 33.45 kB / 1.083 GB, free: 118.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.917e-05/1.826, allocations: 37.5 kB / 1.083 GB, free: 118.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005587/1.827, allocations: 458.8 kB / 1.084 GB, free: 118.6 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/1.827, allocations: 18.39 kB / 1.084 GB, free: 118.6 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/1.827, allocations: 19.66 kB / 1.084 GB, free: 118.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/1.827, allocations: 9.594 kB / 1.084 GB, free: 118.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004154/1.827, allocations: 302.9 kB / 1.084 GB, free: 118.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00983/1.837, allocations: 6.294 MB / 1.09 GB, free: 113.5 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003941/1.838, allocations: 282.7 kB / 1.091 GB, free: 113.3 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007541/1.845, allocations: 3.451 MB / 1.094 GB, free: 110.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/1.845, allocations: 37.62 kB / 1.094 GB, free: 110.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 3.346e-06/1.845, allocations: 0 / 1.094 GB, free: 110.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.009636/1.855, allocations: 2.396 MB / 1.096 GB, free: 108.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/1.855, allocations: 55.41 kB / 1.096 GB, free: 108.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/1.855, allocations: 274.4 kB / 1.097 GB, free: 108.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/1.855, allocations: 33.7 kB / 1.097 GB, free: 108.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.072e-05/1.855, allocations: 220 kB / 1.097 GB, free: 107.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.046e-05/1.855, allocations: 165.5 kB / 1.097 GB, free: 107.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/1.855, allocations: 8 kB / 1.097 GB, free: 107.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.737e-05/1.856, allocations: 350.8 kB / 1.097 GB, free: 107.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/1.856, allocations: 149.3 kB / 1.098 GB, free: 107.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/1.856, allocations: 275.7 kB / 1.098 GB, free: 106.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/1.856, allocations: 196.7 kB / 1.098 GB, free: 106.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.856, allocations: 0 / 1.098 GB, free: 106.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008493/1.857, allocations: 0.5878 MB / 1.099 GB, free: 106.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.857, allocations: 15.42 kB / 1.099 GB, free: 106.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.593e-05/1.857, allocations: 11.98 kB / 1.099 GB, free: 106.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008252/1.865, allocations: 0.8532 MB / 1.099 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/1.866, allocations: 107.8 kB / 1.099 GB, free: 105.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/1.867, allocations: 2.473 MB / 1.102 GB, free: 102.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/1.868, allocations: 39.89 kB / 1.102 GB, free: 102.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/1.868, allocations: 20 kB / 1.102 GB, free: 102.4 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 () * Number of clocked 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.0002264/1.868, allocations: 177.7 kB / 1.102 GB, free: 102.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/1.868, allocations: 43.47 kB / 1.102 GB, free: 102.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009056/1.869, allocations: 0.8514 MB / 1.103 GB, free: 101.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/1.869, allocations: 8 kB / 1.103 GB, free: 101.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/1.869, allocations: 0 / 1.103 GB, free: 101.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007327/1.87, allocations: 0.9611 MB / 1.104 GB, free: 100.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/1.871, allocations: 1.499 MB / 1.105 GB, free: 98.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/1.871, allocations: 3.984 kB / 1.105 GB, free: 98.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/1.872, allocations: 71.91 kB / 1.105 GB, free: 98.65 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002899/1.874, allocations: 0.5982 MB / 1.106 GB, free: 98.05 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.246e-05/1.875, allocations: 19.94 kB / 1.106 GB, free: 98.03 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007208/1.875, allocations: 1.276 MB / 1.107 GB, free: 96.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.875, allocations: 0 / 1.107 GB, free: 96.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/1.877, allocations: 1.236 MB / 1.109 GB, free: 95.43 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/1.877, allocations: 112.6 kB / 1.109 GB, free: 95.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.441e-05/1.877, allocations: 16.03 kB / 1.109 GB, free: 95.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/1.877, allocations: 31.8 kB / 1.109 GB, free: 95.26 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/1.877, allocations: 27.95 kB / 1.109 GB, free: 95.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/1.877, allocations: 23.98 kB / 1.109 GB, free: 95.21 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002127/1.877, allocations: 209.9 kB / 1.109 GB, free: 95 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.877, allocations: 0 / 1.109 GB, free: 95 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00106/1.879, allocations: 247.8 kB / 1.109 GB, free: 94.75 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 () * Number of clocked 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.002567/1.881, allocations: 2.179 MB / 1.111 GB, free: 92.58 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001165/1.882, allocations: 0.679 MB / 1.112 GB, free: 91.89 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.882, allocations: 4 kB / 1.112 GB, free: 91.89 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000954/1.883, allocations: 448.3 kB / 1.112 GB, free: 91.45 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/1.884, allocations: 225.1 kB / 1.113 GB, free: 91.24 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004351/1.889, allocations: 5.279 MB / 1.118 GB, free: 85.84 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/1.889, allocations: 0.8483 MB / 1.119 GB, free: 84.96 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003513/1.889, allocations: 68.34 kB / 1.119 GB, free: 84.89 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/1.89, allocations: 163.4 kB / 1.119 GB, free: 84.73 MB / 458.7 MB Notification: Performance of SimCode: time 8.12e-07/1.89, allocations: 0 / 1.119 GB, free: 84.73 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/1.917, allocations: 17.35 MB / 1.136 GB, free: 67.54 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/1.918, allocations: 201.8 kB / 1.136 GB, free: 67.29 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.57/4.487, allocations: 7.938 kB / 1.136 GB, free: 67.29 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