Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 180.9 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.2 MB / 240.3 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008756/0.0008756, allocations: 100.1 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002752, allocations: 4 kB / 351.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2744, allocations: 50.41 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.3/1.574, allocations: 0.5367 GB / 0.9289 GB, free: 95.72 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/1.575, allocations: 80.48 kB / 0.929 GB, free: 95.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.221/2.796, allocations: 472.2 MB / 1.39 GB, free: 10.58 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.846e-06/2.796, allocations: 0 / 1.39 GB, free: 10.58 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.08e-05/2.796, allocations: 11.98 kB / 1.39 GB, free: 10.57 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001638/2.798, allocations: 0.7377 MB / 1.391 GB, free: 9.781 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/2.798, allocations: 12.03 kB / 1.391 GB, free: 9.77 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/2.798, allocations: 62.53 kB / 1.391 GB, free: 9.699 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000506/2.799, allocations: 59.59 kB / 1.391 GB, free: 9.641 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/2.799, allocations: 282.8 kB / 1.391 GB, free: 9.324 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/2.799, allocations: 24.56 kB / 1.391 GB, free: 9.297 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/2.799, allocations: 28 kB / 1.391 GB, free: 9.27 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004522/2.8, allocations: 326.5 kB / 1.392 GB, free: 8.918 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/2.8, allocations: 4 kB / 1.392 GB, free: 8.914 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/2.8, allocations: 15.95 kB / 1.392 GB, free: 8.898 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/2.8, allocations: 8 kB / 1.392 GB, free: 8.891 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002832/2.8, allocations: 214 kB / 1.392 GB, free: 8.684 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00954/2.809, allocations: 5.463 MB / 1.397 GB, free: 2.719 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/2.81, allocations: 179.2 kB / 1.397 GB, free: 2.535 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.262/3.072, allocations: 3.435 MB / 1.401 GB, free: 121 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.244e-05/3.072, allocations: 37.25 kB / 1.401 GB, free: 121 MB / 458.7 MB Notification: Performance of pre-optimization done (n=21): time 2.845e-06/3.072, allocations: 0 / 1.401 GB, free: 121 MB / 458.7 MB Notification: Performance of matching and sorting (n=26): time 0.005464/3.077, allocations: 1.387 MB / 1.402 GB, free: 120.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/3.077, allocations: 59.03 kB / 1.402 GB, free: 120.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/3.078, allocations: 229.4 kB / 1.402 GB, free: 120.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/3.078, allocations: 32.77 kB / 1.402 GB, free: 120.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.516e-05/3.078, allocations: 185.7 kB / 1.403 GB, free: 120.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.727e-05/3.078, allocations: 97.64 kB / 1.403 GB, free: 120.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.286e-05/3.078, allocations: 3.688 kB / 1.403 GB, free: 120.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.088e-05/3.078, allocations: 343.1 kB / 1.403 GB, free: 119.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/3.078, allocations: 91.27 kB / 1.403 GB, free: 119.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/3.078, allocations: 177 kB / 1.403 GB, free: 119.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/3.078, allocations: 127.3 kB / 1.403 GB, free: 119.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/3.078, allocations: 3.781 kB / 1.403 GB, free: 119.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005729/3.079, allocations: 389.1 kB / 1.404 GB, free: 119.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/3.079, allocations: 8.469 kB / 1.404 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/3.079, allocations: 3.719 kB / 1.404 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00442/3.084, allocations: 448.1 kB / 1.404 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/3.084, allocations: 69.52 kB / 1.404 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/3.085, allocations: 1.882 MB / 1.406 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/3.085, allocations: 20.34 kB / 1.406 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/3.085, allocations: 17.97 kB / 1.406 GB, free: 118 MB / 458.7 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 () * Number of clocked 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.000183/3.086, allocations: 156 kB / 1.406 GB, free: 117.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/3.086, allocations: 26.91 kB / 1.406 GB, free: 117.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007186/3.086, allocations: 0.4902 MB / 1.407 GB, free: 117.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/3.086, allocations: 10.52 kB / 1.407 GB, free: 117.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/3.086, allocations: 0 / 1.407 GB, free: 117.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005075/3.087, allocations: 0.7217 MB / 1.407 GB, free: 117.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/3.088, allocations: 0.9413 MB / 1.408 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/3.088, allocations: 1.375 kB / 1.408 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/3.088, allocations: 47.94 kB / 1.408 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001498/3.09, allocations: 309.4 kB / 1.409 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/3.09, allocations: 11.3 kB / 1.409 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003401/3.09, allocations: 0.6378 MB / 1.409 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/3.09, allocations: 0.75 kB / 1.409 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000762/3.091, allocations: 0.7319 MB / 1.41 GB, free: 116.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.349e-05/3.091, allocations: 107.7 kB / 1.41 GB, free: 116.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/3.091, allocations: 8.969 kB / 1.41 GB, free: 116.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/3.091, allocations: 13.2 kB / 1.41 GB, free: 116.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/3.091, allocations: 23.55 kB / 1.41 GB, free: 116.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/3.091, allocations: 10.77 kB / 1.41 GB, free: 116.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001856/3.092, allocations: 189 kB / 1.41 GB, free: 116 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/3.092, allocations: 1.688 kB / 1.41 GB, free: 116 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001147/3.093, allocations: 208.9 kB / 1.411 GB, free: 116 MB / 458.7 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 () * Number of clocked 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002379/3.095, allocations: 1.706 MB / 1.412 GB, free: 115.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007683/3.096, allocations: 458.6 kB / 1.413 GB, free: 115.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/3.096, allocations: 1 kB / 1.413 GB, free: 115.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006001/3.096, allocations: 236.6 kB / 1.413 GB, free: 115.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008698/3.097, allocations: 162 kB / 1.413 GB, free: 115.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003482/3.101, allocations: 3.869 MB / 1.417 GB, free: 112.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/3.101, allocations: 0.7858 MB / 1.418 GB, free: 111.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002504/3.101, allocations: 51.88 kB / 1.418 GB, free: 111.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/3.101, allocations: 101.2 kB / 1.418 GB, free: 111.8 MB / 458.7 MB Notification: Performance of SimCode: time 7.71e-07/3.101, allocations: 0 / 1.418 GB, free: 111.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03455/3.136, allocations: 14.48 MB / 1.432 GB, free: 111.3 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/3.136, allocations: 204.2 kB / 1.432 GB, free: 111.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.638/5.774, allocations: 3.938 kB / 1.432 GB, free: 111.1 MB / 458.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat