Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.Tests.MediaTestModels.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",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.0009742/0.0009744, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008442/0.0008443, allocations: 86.59 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.287e-05/3.289e-05, allocations: 4 kB / 322.6 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09465/0.0947, allocations: 47.57 MB / 370.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.226/1.321, allocations: 0.5393 GB / 0.9007 GB, free: 133.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/1.322, allocations: 104.6 kB / 0.9008 GB, free: 133.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4483/1.77, allocations: 146.3 MB / 1.044 GB, free: 90.19 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.553e-06/1.77, allocations: 0 / 1.044 GB, free: 90.19 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.572e-05/1.77, allocations: 11.22 kB / 1.044 GB, free: 90.19 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008917/1.771, allocations: 0.5919 MB / 1.044 GB, free: 89.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/1.771, allocations: 15.11 kB / 1.044 GB, free: 89.84 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.978e-05/1.771, allocations: 58.52 kB / 1.044 GB, free: 89.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002695/1.771, allocations: 39.83 kB / 1.044 GB, free: 89.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/1.772, allocations: 285 kB / 1.045 GB, free: 89.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/1.772, allocations: 21.03 kB / 1.045 GB, free: 89.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.287e-05/1.772, allocations: 24.69 kB / 1.045 GB, free: 89.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005101/1.772, allocations: 308.1 kB / 1.045 GB, free: 89.49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/1.772, allocations: 1.188 kB / 1.045 GB, free: 89.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/1.772, allocations: 10.69 kB / 1.045 GB, free: 89.49 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/1.772, allocations: 8.781 kB / 1.045 GB, free: 89.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003517/1.773, allocations: 198.9 kB / 1.045 GB, free: 89.49 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/1.774, allocations: 1.58 MB / 1.047 GB, free: 88.31 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/1.774, allocations: 162.8 kB / 1.047 GB, free: 88.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/1.774, allocations: 95.7 kB / 1.047 GB, free: 88.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/1.774, allocations: 5.953 kB / 1.047 GB, free: 88.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/1.774, allocations: 40.44 kB / 1.047 GB, free: 88.24 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 3.116e-06/1.774, allocations: 2.953 kB / 1.047 GB, free: 88.24 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.004559/1.779, allocations: 1.249 MB / 1.048 GB, free: 87.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/1.779, allocations: 60.77 kB / 1.048 GB, free: 87.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/1.779, allocations: 224.6 kB / 1.049 GB, free: 87.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/1.779, allocations: 30.67 kB / 1.049 GB, free: 87.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/1.779, allocations: 172.1 kB / 1.049 GB, free: 87.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.44e-05/1.779, allocations: 97.02 kB / 1.049 GB, free: 87.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/1.779, allocations: 7.219 kB / 1.049 GB, free: 87.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.691e-05/1.779, allocations: 339.3 kB / 1.049 GB, free: 87.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/1.78, allocations: 86.66 kB / 1.049 GB, free: 87.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/1.78, allocations: 186.5 kB / 1.049 GB, free: 87.03 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/1.78, allocations: 113.9 kB / 1.05 GB, free: 87.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/1.78, allocations: 1.969 kB / 1.05 GB, free: 87.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005877/1.781, allocations: 389.7 kB / 1.05 GB, free: 86.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/1.781, allocations: 11.8 kB / 1.05 GB, free: 86.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.781, allocations: 5.969 kB / 1.05 GB, free: 86.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002138/1.781, allocations: 77.17 kB / 1.05 GB, free: 86.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/1.781, allocations: 77.88 kB / 1.05 GB, free: 86.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008821/1.782, allocations: 1.854 MB / 1.052 GB, free: 85.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/1.782, allocations: 27.06 kB / 1.052 GB, free: 85.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.328e-05/1.782, allocations: 36.84 kB / 1.052 GB, free: 85.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 8.649e-05/1.782, allocations: 129.4 kB / 1.052 GB, free: 85.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/1.783, allocations: 25.44 kB / 1.052 GB, free: 85.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008681/1.783, allocations: 441.1 kB / 1.052 GB, free: 84.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.783, allocations: 4.562 kB / 1.052 GB, free: 84.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/1.783, allocations: 3.5 kB / 1.053 GB, free: 84.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003765/1.784, allocations: 0.5615 MB / 1.053 GB, free: 84.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007424/1.785, allocations: 0.7133 MB / 1.054 GB, free: 84.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.785, allocations: 1.688 kB / 1.054 GB, free: 84.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002868/1.785, allocations: 71.66 kB / 1.054 GB, free: 84.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.089e-05/1.785, allocations: 20.84 kB / 1.054 GB, free: 84.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/1.785, allocations: 12.5 kB / 1.054 GB, free: 84.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005381/1.786, allocations: 1.282 MB / 1.055 GB, free: 82.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.786, allocations: 1.125 kB / 1.055 GB, free: 82.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005568/1.786, allocations: 495.5 kB / 1.056 GB, free: 82.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/1.786, allocations: 101.9 kB / 1.056 GB, free: 82.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/1.786, allocations: 6.031 kB / 1.056 GB, free: 82.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/1.786, allocations: 20.45 kB / 1.056 GB, free: 82.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/1.787, allocations: 28.08 kB / 1.056 GB, free: 82.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/1.787, allocations: 35.12 kB / 1.056 GB, free: 82.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001524/1.787, allocations: 183.5 kB / 1.056 GB, free: 82.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.787, allocations: 0 / 1.056 GB, free: 82.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006499/1.787, allocations: 183.5 kB / 1.056 GB, free: 82.54 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00161/1.789, allocations: 1.859 MB / 1.058 GB, free: 81.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005316/1.79, allocations: 367.6 kB / 1.058 GB, free: 81.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.79, allocations: 4.906 kB / 1.058 GB, free: 81.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001991/1.79, allocations: 223.5 kB / 1.058 GB, free: 81.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007708/1.791, allocations: 151.7 kB / 1.059 GB, free: 81.37 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009238/1.792, allocations: 0.571 MB / 1.059 GB, free: 81.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/1.792, allocations: 0.7754 MB / 1.06 GB, free: 80.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005066/1.792, allocations: 115.1 kB / 1.06 GB, free: 80.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/1.792, allocations: 129.6 kB / 1.06 GB, free: 80.45 MB / 426.7 MB Notification: Performance of SimCode: time 2.91e-07/1.792, allocations: 0 / 1.06 GB, free: 80.45 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03612/1.829, allocations: 25.37 MB / 1.085 GB, free: 79.4 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001395/1.829, allocations: 197 kB / 1.085 GB, free: 79.18 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/4.279, allocations: 4 kB / 1.085 GB, free: 79.17 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat