Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",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.001319/0.00132, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 221.5 MB / 230.7 MB, free: 7.582 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.0009268/0.0009265, allocations: 93.97 kB / 281.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2571/0.2571, allocations: 44.14 MB / 376.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.404e-05/2.432e-05, allocations: 224 / 444.7 MB, free: 15.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1604, allocations: 61.92 MB / 0.4948 GB, free: 1.184 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.196/2.357, allocations: 0.6955 GB / 1.19 GB, free: 88.39 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/2.357, allocations: 73.2 kB / 1.19 GB, free: 88.35 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.06976/2.427, allocations: 33.55 MB / 1.223 GB, free: 57.12 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.855e-06/2.427, allocations: 0 / 1.223 GB, free: 57.12 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.488e-05/2.427, allocations: 3.938 kB / 1.223 GB, free: 57.12 MB / 0.5105 GB 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.0005912/2.427, allocations: 418.6 kB / 1.223 GB, free: 56.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/2.427, allocations: 15.98 kB / 1.223 GB, free: 56.64 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/2.429, allocations: 196.1 kB / 1.224 GB, free: 56.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/2.43, allocations: 199 kB / 1.224 GB, free: 56.22 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/2.43, allocations: 7.828 kB / 1.224 GB, free: 56.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/2.43, allocations: 15.92 kB / 1.224 GB, free: 56.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003983/2.43, allocations: 180.3 kB / 1.224 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/2.43, allocations: 146.9 kB / 1.224 GB, free: 55.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/2.43, allocations: 4 kB / 1.224 GB, free: 55.87 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/2.43, allocations: 0 / 1.224 GB, free: 55.87 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/2.43, allocations: 0 / 1.224 GB, free: 55.87 MB / 0.5105 GB 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.0013/2.432, allocations: 0.5823 MB / 1.225 GB, free: 55.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/2.432, allocations: 146.5 kB / 1.225 GB, free: 55.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/2.432, allocations: 64.86 kB / 1.225 GB, free: 55.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001973/2.432, allocations: 97.09 kB / 1.225 GB, free: 54.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/2.432, allocations: 34.56 kB / 1.225 GB, free: 54.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/2.432, allocations: 0 / 1.225 GB, free: 54.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.003729/2.436, allocations: 1.004 MB / 1.226 GB, free: 53.76 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/2.436, allocations: 55.41 kB / 1.226 GB, free: 53.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.041e-05/2.436, allocations: 105 kB / 1.226 GB, free: 53.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/2.436, allocations: 25.7 kB / 1.226 GB, free: 53.55 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/2.436, allocations: 104.2 kB / 1.226 GB, free: 53.45 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/2.436, allocations: 59.11 kB / 1.226 GB, free: 53.39 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.699e-05/2.436, allocations: 0 / 1.226 GB, free: 53.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.79e-05/2.436, allocations: 322.8 kB / 1.227 GB, free: 53.06 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.954e-05/2.437, allocations: 67.86 kB / 1.227 GB, free: 53 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/2.437, allocations: 107.6 kB / 1.227 GB, free: 52.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/2.437, allocations: 77.03 kB / 1.227 GB, free: 52.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/2.437, allocations: 3.984 kB / 1.227 GB, free: 52.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000335/2.437, allocations: 233.1 kB / 1.227 GB, free: 52.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/2.437, allocations: 5.406 kB / 1.227 GB, free: 52.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/2.437, allocations: 12.03 kB / 1.227 GB, free: 52.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001159/2.437, allocations: 20.84 kB / 1.227 GB, free: 52.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/2.438, allocations: 55.91 kB / 1.227 GB, free: 52.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002611/2.438, allocations: 0.5328 MB / 1.228 GB, free: 51.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/2.438, allocations: 4.031 kB / 1.228 GB, free: 51.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/2.438, allocations: 16.09 kB / 1.228 GB, free: 51.89 MB / 0.5105 GB 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 9.034e-05/2.438, allocations: 109.5 kB / 1.228 GB, free: 51.78 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003079/2.439, allocations: 212.6 kB / 1.228 GB, free: 51.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/2.439, allocations: 11.89 kB / 1.228 GB, free: 51.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000449/2.439, allocations: 251 kB / 1.228 GB, free: 51.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/2.439, allocations: 4 kB / 1.228 GB, free: 51.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/2.439, allocations: 0 / 1.228 GB, free: 51.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/2.439, allocations: 7.938 kB / 1.228 GB, free: 51.29 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007173/2.44, allocations: 0.5976 MB / 1.229 GB, free: 50.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/2.44, allocations: 4 kB / 1.229 GB, free: 50.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/2.44, allocations: 47.91 kB / 1.229 GB, free: 50.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.977e-05/2.44, allocations: 20.94 kB / 1.229 GB, free: 50.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/2.44, allocations: 11.94 kB / 1.229 GB, free: 50.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005838/2.441, allocations: 1.213 MB / 1.23 GB, free: 49.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/2.441, allocations: 4.062 kB / 1.23 GB, free: 49.22 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004523/2.441, allocations: 432 kB / 1.231 GB, free: 48.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/2.441, allocations: 88.98 kB / 1.231 GB, free: 48.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/2.441, allocations: 8 kB / 1.231 GB, free: 48.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/2.442, allocations: 8 kB / 1.231 GB, free: 48.63 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/2.442, allocations: 15.88 kB / 1.231 GB, free: 48.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/2.442, allocations: 8 kB / 1.231 GB, free: 48.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.078e-05/2.442, allocations: 95.22 kB / 1.231 GB, free: 48.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/2.442, allocations: 0 / 1.231 GB, free: 48.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007041/2.443, allocations: 156 kB / 1.231 GB, free: 48.36 MB / 0.5105 GB 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.001837/2.444, allocations: 1.766 MB / 1.233 GB, free: 46.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004332/2.445, allocations: 188 kB / 1.233 GB, free: 46.37 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/2.445, allocations: 0 / 1.233 GB, free: 46.37 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002367/2.445, allocations: 205.6 kB / 1.233 GB, free: 46.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/2.445, allocations: 36.16 kB / 1.233 GB, free: 46.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007408/2.446, allocations: 394.1 kB / 1.234 GB, free: 45.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/2.446, allocations: 0.7046 MB / 1.234 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003464/2.447, allocations: 49.11 kB / 1.234 GB, free: 44.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/2.447, allocations: 47.41 kB / 1.234 GB, free: 44.87 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/2.447, allocations: 0 / 1.234 GB, free: 44.87 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/2.478, allocations: 9.793 MB / 1.244 GB, free: 35.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/2.479, allocations: 129.2 kB / 1.244 GB, free: 34.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.018/4.497, allocations: 4 kB / 1.244 GB, free: 34.91 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat