Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002221/0.002221, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.164/2.164, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002462/0.002461, allocations: 93.44 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.761e-05/2.758e-05, allocations: 4 kB / 314.9 MB, free: 9.051 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3693, allocations: 47.56 MB / 362.4 MB, free: 45.75 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.236/2.605, allocations: 0.6378 GB / 0.9918 GB, free: 112 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/2.606, allocations: 76.91 kB / 0.9918 GB, free: 112 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.717/4.323, allocations: 459.4 MB / 1.441 GB, free: 56.06 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.803e-06/4.323, allocations: 0 / 1.441 GB, free: 56.06 MB / 427.1 MB Notification: Performance of Transformations before backend: time 2.59e-05/4.323, allocations: 11.91 kB / 1.441 GB, free: 56.05 MB / 427.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001793/4.325, allocations: 0.7149 MB / 1.441 GB, free: 55.3 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/4.325, allocations: 8.031 kB / 1.441 GB, free: 55.29 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006302/4.325, allocations: 55.59 kB / 1.441 GB, free: 55.23 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005302/4.326, allocations: 289.9 kB / 1.442 GB, free: 54.91 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/4.326, allocations: 11.52 kB / 1.442 GB, free: 54.91 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.644e-05/4.326, allocations: 23.89 kB / 1.442 GB, free: 54.88 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004579/4.327, allocations: 169.1 kB / 1.442 GB, free: 54.71 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005538/4.327, allocations: 289.4 kB / 1.442 GB, free: 54.39 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/4.327, allocations: 0.6562 kB / 1.442 GB, free: 54.39 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.475e-05/4.327, allocations: 0 / 1.442 GB, free: 54.39 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/4.327, allocations: 8 kB / 1.442 GB, free: 54.39 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01708/4.344, allocations: 5.458 MB / 1.447 GB, free: 48.47 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/4.345, allocations: 165.1 kB / 1.448 GB, free: 48.3 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/4.345, allocations: 88.22 kB / 1.448 GB, free: 48.21 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01462/4.36, allocations: 3.491 MB / 1.451 GB, free: 44.44 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/4.36, allocations: 38.31 kB / 1.451 GB, free: 44.4 MB / 427.1 MB Notification: Performance of pre-optimization done (n=21): time 3.687e-06/4.36, allocations: 0 / 1.451 GB, free: 44.4 MB / 427.1 MB Notification: Performance of matching and sorting (n=26): time 0.004931/4.365, allocations: 0.9744 MB / 1.452 GB, free: 43.37 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/4.365, allocations: 55.41 kB / 1.452 GB, free: 43.3 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/4.365, allocations: 199.1 kB / 1.452 GB, free: 43.1 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/4.365, allocations: 25.7 kB / 1.452 GB, free: 43.07 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/4.365, allocations: 250.6 kB / 1.453 GB, free: 42.82 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.233e-05/4.365, allocations: 90.66 kB / 1.453 GB, free: 42.73 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/4.365, allocations: 0 / 1.453 GB, free: 42.73 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 7.31e-05/4.365, allocations: 334.8 kB / 1.453 GB, free: 42.39 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/4.366, allocations: 79.98 kB / 1.453 GB, free: 42.32 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/4.366, allocations: 171.2 kB / 1.453 GB, free: 42.11 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/4.367, allocations: 196.3 kB / 1.453 GB, free: 41.92 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/4.367, allocations: 0 / 1.453 GB, free: 41.92 MB / 427.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001746/4.369, allocations: 426.8 kB / 1.454 GB, free: 41.49 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/4.369, allocations: 11.94 kB / 1.454 GB, free: 41.48 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/4.369, allocations: 4 kB / 1.454 GB, free: 41.47 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003668/4.369, allocations: 66.05 kB / 1.454 GB, free: 41.4 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/4.37, allocations: 71.91 kB / 1.454 GB, free: 41.33 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/4.372, allocations: 1.882 MB / 1.456 GB, free: 39.31 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004184/4.372, allocations: 24.05 kB / 1.456 GB, free: 39.29 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/4.372, allocations: 12 kB / 1.456 GB, free: 39.28 MB / 427.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 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,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001301/4.372, allocations: 113.5 kB / 1.456 GB, free: 39.16 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001402/4.374, allocations: 340.4 kB / 1.456 GB, free: 38.82 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.726e-05/4.374, allocations: 23.72 kB / 1.456 GB, free: 38.79 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/4.375, allocations: 464.8 kB / 1.457 GB, free: 38.34 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/4.375, allocations: 11.45 kB / 1.457 GB, free: 38.33 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/4.375, allocations: 0 / 1.457 GB, free: 38.33 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001047/4.376, allocations: 0.7018 MB / 1.457 GB, free: 37.54 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/4.378, allocations: 0.8717 MB / 1.458 GB, free: 36.62 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/4.378, allocations: 3.984 kB / 1.458 GB, free: 36.62 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/4.379, allocations: 39.98 kB / 1.458 GB, free: 36.58 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004079/4.379, allocations: 92.62 kB / 1.458 GB, free: 36.48 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/4.379, allocations: 11.17 kB / 1.458 GB, free: 36.48 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006958/4.38, allocations: 0.6811 MB / 1.459 GB, free: 35.77 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/4.38, allocations: 3.984 kB / 1.459 GB, free: 35.77 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/4.381, allocations: 0.703 MB / 1.46 GB, free: 35.03 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/4.381, allocations: 112.7 kB / 1.46 GB, free: 34.9 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.706e-05/4.381, allocations: 4 kB / 1.46 GB, free: 34.9 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/4.382, allocations: 4 kB / 1.46 GB, free: 34.89 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/4.382, allocations: 15.97 kB / 1.46 GB, free: 34.88 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/4.382, allocations: 15.98 kB / 1.46 GB, free: 34.86 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0001863/4.382, allocations: 157.7 kB / 1.46 GB, free: 34.71 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.01e-07/4.382, allocations: 0 / 1.46 GB, free: 34.71 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.00134/4.383, allocations: 195.8 kB / 1.46 GB, free: 34.52 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003497/4.387, allocations: 1.703 MB / 1.462 GB, free: 32.82 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/4.388, allocations: 417.8 kB / 1.462 GB, free: 32.41 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/4.388, allocations: 0 / 1.462 GB, free: 32.41 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004664/4.389, allocations: 203.9 kB / 1.462 GB, free: 32.21 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/4.39, allocations: 123.6 kB / 1.463 GB, free: 32.09 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/4.392, allocations: 0.6944 MB / 1.463 GB, free: 31.37 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/4.392, allocations: 0.7799 MB / 1.464 GB, free: 30.56 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/4.393, allocations: 107.4 kB / 1.464 GB, free: 30.45 MB / 427.1 MB Notification: Performance of SimCode: time 1.172e-06/4.393, allocations: 0 / 1.464 GB, free: 30.45 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.981/7.373, allocations: 10.33 MB / 1.474 GB, free: 20.17 MB / 427.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat