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.002365/0.002365, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.165/2.165, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 84.12 kB / 262.4 MB, free: 1.672 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.611e-05/2.613e-05, allocations: 4 kB / 315.6 MB, free: 22.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1331, allocations: 47.58 MB / 363.2 MB, free: 6.957 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.893/2.027, allocations: 0.5388 GB / 0.8935 GB, free: 121.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004279/2.027, allocations: 106.1 kB / 0.8936 GB, free: 121.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.625/2.652, allocations: 144.7 MB / 1.035 GB, free: 96.01 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.023e-06/2.652, allocations: 2.5 kB / 1.035 GB, free: 96.01 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.255e-05/2.652, allocations: 5.562 kB / 1.035 GB, free: 96.01 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.001101/2.653, allocations: 0.5957 MB / 1.035 GB, free: 95.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/2.654, allocations: 11.81 kB / 1.035 GB, free: 95.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000357/2.654, allocations: 40.28 kB / 1.036 GB, free: 95.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/2.654, allocations: 277.6 kB / 1.036 GB, free: 95.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/2.654, allocations: 7.875 kB / 1.036 GB, free: 95.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-05/2.654, allocations: 20.94 kB / 1.036 GB, free: 95.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004173/2.655, allocations: 174.8 kB / 1.036 GB, free: 95.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005701/2.655, allocations: 275.5 kB / 1.036 GB, free: 95.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/2.655, allocations: 3.562 kB / 1.036 GB, free: 95.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/2.656, allocations: 3.344 kB / 1.036 GB, free: 95.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/2.656, allocations: 6.562 kB / 1.036 GB, free: 95.34 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.002084/2.658, allocations: 1.55 MB / 1.038 GB, free: 94.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/2.658, allocations: 140 kB / 1.038 GB, free: 94.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/2.658, allocations: 78.8 kB / 1.038 GB, free: 94.17 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/2.658, allocations: 4.719 kB / 1.038 GB, free: 94.17 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/2.658, allocations: 44.62 kB / 1.038 GB, free: 94.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 2.585e-06/2.658, allocations: 2.438 kB / 1.038 GB, free: 94.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.004298/2.663, allocations: 0.9958 MB / 1.039 GB, free: 93.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/2.663, allocations: 51.41 kB / 1.039 GB, free: 93.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/2.663, allocations: 201.8 kB / 1.039 GB, free: 93.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/2.663, allocations: 27.08 kB / 1.039 GB, free: 93.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/2.663, allocations: 185.3 kB / 1.039 GB, free: 93.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.106e-05/2.663, allocations: 84.31 kB / 1.04 GB, free: 93.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/2.663, allocations: 0 / 1.04 GB, free: 93.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.08e-05/2.663, allocations: 334.4 kB / 1.04 GB, free: 93.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/2.663, allocations: 79.34 kB / 1.04 GB, free: 93.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/2.664, allocations: 174.9 kB / 1.04 GB, free: 92.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/2.664, allocations: 105.1 kB / 1.04 GB, free: 92.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/2.664, allocations: 3.938 kB / 1.04 GB, free: 92.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007582/2.665, allocations: 354.3 kB / 1.041 GB, free: 92.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/2.665, allocations: 6.375 kB / 1.041 GB, free: 92.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/2.665, allocations: 3.312 kB / 1.041 GB, free: 92.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000221/2.665, allocations: 68.83 kB / 1.041 GB, free: 92.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/2.665, allocations: 91.64 kB / 1.041 GB, free: 92.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/2.666, allocations: 1.811 MB / 1.042 GB, free: 91.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/2.667, allocations: 21.89 kB / 1.042 GB, free: 91.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.939e-05/2.667, allocations: 37.84 kB / 1.043 GB, free: 91.14 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 0.0001112/2.667, allocations: 116.8 kB / 1.043 GB, free: 91.03 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004658/2.667, allocations: 252.3 kB / 1.043 GB, free: 90.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/2.667, allocations: 20.19 kB / 1.043 GB, free: 90.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008024/2.668, allocations: 363 kB / 1.043 GB, free: 90.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/2.668, allocations: 3.594 kB / 1.043 GB, free: 90.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/2.668, allocations: 1.188 kB / 1.043 GB, free: 90.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004766/2.669, allocations: 0.5361 MB / 1.044 GB, free: 90.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009859/2.67, allocations: 0.6623 MB / 1.044 GB, free: 90.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/2.67, allocations: 1 kB / 1.044 GB, free: 90.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/2.67, allocations: 73.41 kB / 1.044 GB, free: 90.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-05/2.67, allocations: 23.17 kB / 1.045 GB, free: 90.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/2.67, allocations: 9.922 kB / 1.045 GB, free: 90.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006305/2.671, allocations: 1.226 MB / 1.046 GB, free: 88.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/2.671, allocations: 5.297 kB / 1.046 GB, free: 88.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006018/2.671, allocations: 469.8 kB / 1.046 GB, free: 88.74 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/2.672, allocations: 104.1 kB / 1.046 GB, free: 88.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/2.672, allocations: 2.375 kB / 1.046 GB, free: 88.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/2.672, allocations: 13.86 kB / 1.046 GB, free: 88.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.809e-05/2.672, allocations: 27.48 kB / 1.046 GB, free: 88.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.572e-05/2.672, allocations: 35.33 kB / 1.046 GB, free: 88.63 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001873/2.672, allocations: 155.1 kB / 1.046 GB, free: 88.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/2.672, allocations: 0 / 1.046 GB, free: 88.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008417/2.673, allocations: 161.8 kB / 1.047 GB, free: 88.55 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.002321/2.675, allocations: 1.944 MB / 1.049 GB, free: 87.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007441/2.676, allocations: 358.8 kB / 1.049 GB, free: 87.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/2.676, allocations: 1.375 kB / 1.049 GB, free: 87.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002663/2.676, allocations: 212.7 kB / 1.049 GB, free: 87.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007945/2.677, allocations: 125.6 kB / 1.049 GB, free: 87.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/2.679, allocations: 0.5527 MB / 1.05 GB, free: 87.19 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/2.679, allocations: 0.7739 MB / 1.05 GB, free: 86.49 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005497/2.679, allocations: 112.5 kB / 1.051 GB, free: 86.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/2.68, allocations: 129.2 kB / 1.051 GB, free: 86.48 MB / 426.7 MB Notification: Performance of SimCode: time 1.733e-06/2.68, allocations: 0 / 1.051 GB, free: 86.48 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05671/2.736, allocations: 15.15 MB / 1.066 GB, free: 86.08 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/2.737, allocations: 146 kB / 1.066 GB, free: 85.89 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.521/5.257, allocations: 0 / 1.066 GB, free: 85.89 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