Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",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.001711/0.001711, allocations: 175.3 kB / 13.63 MB, free: 1.684 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.569/1.569, allocations: 221.3 MB / 235.5 MB, free: 2.891 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 92.03 kB / 286.5 MB, free: 184 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.182e-05/4.191e-05, allocations: 8 kB / 343.9 MB, free: 4.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1566, allocations: 50.4 MB / 394.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.42/18.58, allocations: 6.123 GB / 6.508 GB, free: 46.16 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/18.58, allocations: 78.52 kB / 6.508 GB, free: 46.12 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206/21.78, allocations: 0.8123 GB / 7.32 GB, free: 32.52 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.485e-06/21.78, allocations: 0 / 7.32 GB, free: 32.52 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.233e-05/21.78, allocations: 13.59 kB / 7.32 GB, free: 32.52 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.01175/21.8, allocations: 2.728 MB / 7.323 GB, free: 31.14 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/21.8, allocations: 11.94 kB / 7.323 GB, free: 31.14 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.698e-05/21.8, allocations: 83.64 kB / 7.323 GB, free: 31.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003485/21.8, allocations: 64.97 kB / 7.323 GB, free: 31.07 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004902/21.8, allocations: 364 kB / 7.324 GB, free: 30.85 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/21.8, allocations: 33.56 kB / 7.324 GB, free: 30.85 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.161e-05/21.8, allocations: 51.53 kB / 7.324 GB, free: 30.84 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/21.8, allocations: 0.5608 MB / 7.324 GB, free: 30.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/21.8, allocations: 4.844 kB / 7.324 GB, free: 30.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.336e-05/21.8, allocations: 16.69 kB / 7.324 GB, free: 30.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/21.8, allocations: 15.02 kB / 7.324 GB, free: 30.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/21.8, allocations: 0.7064 MB / 7.325 GB, free: 30.79 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/21.81, allocations: 11.66 MB / 7.336 GB, free: 20.19 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/21.81, allocations: 0.5222 MB / 7.337 GB, free: 20.16 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003122/21.81, allocations: 255.1 kB / 7.337 GB, free: 20.15 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0245/21.84, allocations: 20.96 MB / 7.358 GB, free: 31.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/21.84, allocations: 42.97 kB / 7.358 GB, free: 31 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=50): time 2.264e-06/21.84, allocations: 0 / 7.358 GB, free: 31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55): time 0.005661/21.84, allocations: 1.817 MB / 7.359 GB, free: 30.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/21.84, allocations: 55.94 kB / 7.359 GB, free: 30.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/21.84, allocations: 285.2 kB / 7.36 GB, free: 30.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.468e-05/21.84, allocations: 38.73 kB / 7.36 GB, free: 30.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/21.84, allocations: 200.5 kB / 7.36 GB, free: 30.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/21.84, allocations: 194.9 kB / 7.36 GB, free: 30.15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/21.84, allocations: 9.375 kB / 7.36 GB, free: 30.15 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001317/21.84, allocations: 347.9 kB / 7.36 GB, free: 29.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003131/21.85, allocations: 230.2 kB / 7.361 GB, free: 29.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005303/21.85, allocations: 329.6 kB / 7.361 GB, free: 29.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005192/21.85, allocations: 270 kB / 7.361 GB, free: 29.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/21.85, allocations: 0 / 7.361 GB, free: 29.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001613/21.85, allocations: 0.7379 MB / 7.362 GB, free: 29.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/21.85, allocations: 6.656 kB / 7.362 GB, free: 29.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/21.85, allocations: 0 / 7.362 GB, free: 29.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004846/21.85, allocations: 117.9 kB / 7.362 GB, free: 29.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004642/21.85, allocations: 129.5 kB / 7.362 GB, free: 29.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/21.85, allocations: 3.275 MB / 7.365 GB, free: 26.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004262/21.85, allocations: 29.19 kB / 7.365 GB, free: 26.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-05/21.85, allocations: 41.69 kB / 7.365 GB, free: 26.48 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {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.000186/21.85, allocations: 137.7 kB / 7.366 GB, free: 26.37 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/21.85, allocations: 48.44 kB / 7.366 GB, free: 26.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/21.85, allocations: 0.8462 MB / 7.366 GB, free: 26.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/21.85, allocations: 3.656 kB / 7.366 GB, free: 26.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/21.85, allocations: 0 / 7.366 GB, free: 26.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001069/21.85, allocations: 0.7632 MB / 7.367 GB, free: 25.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/21.86, allocations: 1.31 MB / 7.369 GB, free: 25.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/21.86, allocations: 3.938 kB / 7.369 GB, free: 25.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/21.86, allocations: 101.7 kB / 7.369 GB, free: 25.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008607/21.86, allocations: 156.9 kB / 7.369 GB, free: 25.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/21.86, allocations: 17.42 kB / 7.369 GB, free: 25.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003899/21.86, allocations: 0.657 MB / 7.369 GB, free: 24.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/21.86, allocations: 0 / 7.369 GB, free: 24.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/21.86, allocations: 0.9349 MB / 7.37 GB, free: 24.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/21.86, allocations: 124.5 kB / 7.37 GB, free: 24.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.553e-05/21.86, allocations: 15.7 kB / 7.37 GB, free: 24.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/21.86, allocations: 39.09 kB / 7.371 GB, free: 24.54 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/21.86, allocations: 37.64 kB / 7.371 GB, free: 24.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.421e-05/21.86, allocations: 33.98 kB / 7.371 GB, free: 24.53 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002484/21.86, allocations: 250.8 kB / 7.371 GB, free: 24.45 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/21.86, allocations: 0 / 7.371 GB, free: 24.45 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007351/21.87, allocations: 1.954 MB / 7.373 GB, free: 24.06 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01689/21.89, allocations: 4.443 MB / 7.377 GB, free: 22.58 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001763/21.89, allocations: 0.8097 MB / 7.378 GB, free: 22.33 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/21.89, allocations: 3.719 kB / 7.378 GB, free: 22.33 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005357/21.89, allocations: 298.6 kB / 7.378 GB, free: 22.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/21.89, allocations: 263.3 kB / 7.378 GB, free: 22.28 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006667/21.9, allocations: 1.753 MB / 7.38 GB, free: 21.53 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/21.9, allocations: 0.8424 MB / 7.381 GB, free: 20.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005932/21.9, allocations: 140.8 kB / 7.381 GB, free: 20.79 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/21.9, allocations: 162.7 kB / 7.381 GB, free: 20.78 MB / 0.4948 GB Notification: Performance of SimCode: time 8.02e-07/21.9, allocations: 0 / 7.381 GB, free: 20.78 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4802/22.38, allocations: 69.72 MB / 7.449 GB, free: 63.11 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/22.38, allocations: 210.7 kB / 7.45 GB, free: 62.89 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.682/27.06, allocations: 0 / 7.45 GB, free: 62.89 MB / 0.4948 GB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat does not exist to compare? outputFormat=mat