Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",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.002399/0.002399, allocations: 177.8 kB / 8.36 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.193/2.193, 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.001137/0.001137, allocations: 94.67 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 3.177e-05/3.206e-05, allocations: 4 kB / 314.9 MB, free: 9.062 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4024, allocations: 47.56 MB / 362.4 MB, free: 45.71 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.121/2.524, allocations: 0.7172 GB / 1.071 GB, free: 74.14 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/2.524, allocations: 81.2 kB / 1.071 GB, free: 74.09 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1199/2.644, allocations: 33.2 MB / 1.104 GB, free: 46.94 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.813e-06/2.644, allocations: 0 / 1.104 GB, free: 46.94 MB / 427.1 MB Notification: Performance of Transformations before backend: time 1.5e-05/2.644, allocations: 4 kB / 1.104 GB, free: 46.94 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006242/2.645, allocations: 416.7 kB / 1.104 GB, free: 46.49 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/2.645, allocations: 12.25 kB / 1.104 GB, free: 46.48 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002777/2.647, allocations: 177.3 kB / 1.104 GB, free: 46.32 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/2.648, allocations: 217.2 kB / 1.104 GB, free: 46.09 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/2.648, allocations: 7.938 kB / 1.104 GB, free: 46.08 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.465e-05/2.648, allocations: 7.906 kB / 1.104 GB, free: 46.07 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000641/2.649, allocations: 187.6 kB / 1.105 GB, free: 45.96 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003953/2.649, allocations: 146.9 kB / 1.105 GB, free: 45.85 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/2.649, allocations: 4 kB / 1.105 GB, free: 45.84 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.141e-05/2.649, allocations: 0 / 1.105 GB, free: 45.84 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/2.649, allocations: 4 kB / 1.105 GB, free: 45.84 MB / 427.1 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.002222/2.651, allocations: 0.5897 MB / 1.105 GB, free: 45.32 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/2.652, allocations: 149.4 kB / 1.105 GB, free: 45.22 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/2.652, allocations: 69.78 kB / 1.106 GB, free: 45.18 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000325/2.652, allocations: 96.59 kB / 1.106 GB, free: 45.07 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/2.652, allocations: 34.56 kB / 1.106 GB, free: 45.02 MB / 427.1 MB Notification: Performance of pre-optimization done (n=14): time 3.337e-06/2.652, allocations: 0 / 1.106 GB, free: 45.02 MB / 427.1 MB Notification: Performance of matching and sorting (n=19): time 0.006728/2.659, allocations: 1.003 MB / 1.107 GB, free: 44.06 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/2.659, allocations: 55.41 kB / 1.107 GB, free: 44 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.807e-05/2.659, allocations: 102.9 kB / 1.107 GB, free: 43.89 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/2.659, allocations: 29.7 kB / 1.107 GB, free: 43.86 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.91e-05/2.659, allocations: 165.4 kB / 1.107 GB, free: 43.7 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.585e-05/2.659, allocations: 68.12 kB / 1.107 GB, free: 43.64 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/2.659, allocations: 3.938 kB / 1.107 GB, free: 43.63 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 6.68e-05/2.659, allocations: 318.3 kB / 1.107 GB, free: 43.32 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/2.66, allocations: 68.67 kB / 1.107 GB, free: 43.28 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/2.66, allocations: 106.5 kB / 1.108 GB, free: 43.19 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/2.66, allocations: 85.47 kB / 1.108 GB, free: 43.14 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/2.66, allocations: 0 / 1.108 GB, free: 43.14 MB / 427.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006546/2.661, allocations: 235.1 kB / 1.108 GB, free: 42.96 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/2.661, allocations: 4.094 kB / 1.108 GB, free: 42.96 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/2.661, allocations: 8 kB / 1.108 GB, free: 42.95 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000181/2.661, allocations: 23.28 kB / 1.108 GB, free: 42.93 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006223/2.662, allocations: 51.91 kB / 1.108 GB, free: 42.88 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003517/2.662, allocations: 0.531 MB / 1.108 GB, free: 42.33 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/2.662, allocations: 12.11 kB / 1.108 GB, free: 42.32 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/2.662, allocations: 10.56 kB / 1.108 GB, free: 42.31 MB / 427.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000128/2.663, allocations: 108.9 kB / 1.109 GB, free: 42.2 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005618/2.663, allocations: 213.5 kB / 1.109 GB, free: 42.04 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.245e-05/2.663, allocations: 11.91 kB / 1.109 GB, free: 42.03 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007812/2.664, allocations: 267.3 kB / 1.109 GB, free: 41.82 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/2.664, allocations: 4 kB / 1.109 GB, free: 41.82 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/2.664, allocations: 4 kB / 1.109 GB, free: 41.81 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/2.664, allocations: 3.984 kB / 1.109 GB, free: 41.81 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/2.665, allocations: 0.5914 MB / 1.11 GB, free: 41.27 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/2.665, allocations: 0 / 1.11 GB, free: 41.27 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006225/2.666, allocations: 51.89 kB / 1.11 GB, free: 41.22 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001107/2.666, allocations: 23.94 kB / 1.11 GB, free: 41.2 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/2.666, allocations: 4 kB / 1.11 GB, free: 41.19 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008197/2.667, allocations: 1.22 MB / 1.111 GB, free: 39.9 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/2.667, allocations: 4.031 kB / 1.111 GB, free: 39.89 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007939/2.668, allocations: 425.4 kB / 1.111 GB, free: 39.52 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.902e-05/2.668, allocations: 88.95 kB / 1.111 GB, free: 39.41 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/2.668, allocations: 7.938 kB / 1.111 GB, free: 39.4 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004523/2.668, allocations: 4 kB / 1.111 GB, free: 39.4 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/2.669, allocations: 15.97 kB / 1.111 GB, free: 39.38 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/2.669, allocations: 6.75 kB / 1.111 GB, free: 39.38 MB / 427.1 MB Notification: Performance of sorting global known variables: time 4.914e-05/2.669, allocations: 90.08 kB / 1.112 GB, free: 39.29 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.41e-07/2.669, allocations: 4.062 kB / 1.112 GB, free: 39.29 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0008524/2.669, allocations: 153.5 kB / 1.112 GB, free: 39.16 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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.002595/2.672, allocations: 1.776 MB / 1.113 GB, free: 37.43 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0006682/2.673, allocations: 181.3 kB / 1.114 GB, free: 37.27 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/2.673, allocations: 4 kB / 1.114 GB, free: 37.26 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003636/2.673, allocations: 201.7 kB / 1.114 GB, free: 37.05 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005771/2.674, allocations: 40.34 kB / 1.114 GB, free: 37.02 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/2.675, allocations: 415 kB / 1.114 GB, free: 36.56 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/2.675, allocations: 0.7085 MB / 1.115 GB, free: 35.82 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/2.676, allocations: 44.28 kB / 1.115 GB, free: 35.78 MB / 427.1 MB Notification: Performance of SimCode: time 9.92e-07/2.676, allocations: 4 kB / 1.115 GB, free: 35.78 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.165/5.84, allocations: 7.895 MB / 1.123 GB, free: 27.88 MB / 427.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_TestOnly_IdealGasN2Mix.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat