Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir",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.001477/0.001477, allocations: 177.8 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.0008553/0.0008551, allocations: 86.3 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2581/0.2581, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.81e-05/1.813e-05, allocations: 0 / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1513, allocations: 58.86 MB / 477.2 MB, free: 1.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.336/2.488, allocations: 0.7382 GB / 1.204 GB, free: 64.13 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/2.488, allocations: 72.25 kB / 1.204 GB, free: 64.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.08623/2.574, allocations: 38.97 MB / 1.242 GB, free: 31.47 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.973e-06/2.574, allocations: 0 / 1.242 GB, free: 31.47 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.414e-05/2.574, allocations: 4 kB / 1.242 GB, free: 31.46 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.000888/2.575, allocations: 0.5033 MB / 1.243 GB, free: 30.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/2.575, allocations: 8.031 kB / 1.243 GB, free: 30.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002911/2.578, allocations: 367.8 kB / 1.243 GB, free: 30.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/2.578, allocations: 258.8 kB / 1.243 GB, free: 30.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/2.578, allocations: 4 kB / 1.243 GB, free: 30.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.042e-05/2.579, allocations: 15.95 kB / 1.243 GB, free: 30.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000699/2.579, allocations: 476.5 kB / 1.244 GB, free: 29.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/2.58, allocations: 313.4 kB / 1.244 GB, free: 29.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/2.58, allocations: 0 / 1.244 GB, free: 29.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/2.58, allocations: 0 / 1.244 GB, free: 29.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/2.58, allocations: 8 kB / 1.244 GB, free: 29.45 MB / 0.4948 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.001854/2.582, allocations: 0.9404 MB / 1.245 GB, free: 28.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/2.582, allocations: 265 kB / 1.245 GB, free: 28.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/2.582, allocations: 133.7 kB / 1.246 GB, free: 28.05 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/2.583, allocations: 0.6477 MB / 1.246 GB, free: 27.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/2.583, allocations: 38.56 kB / 1.246 GB, free: 27.24 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=29): time 2.024e-06/2.583, allocations: 0 / 1.246 GB, free: 27.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29): time 0.0005627/2.584, allocations: 257.7 kB / 1.246 GB, free: 26.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/2.584, allocations: 81.11 kB / 1.246 GB, free: 26.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.524e-05/2.584, allocations: 109.3 kB / 1.247 GB, free: 26.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/2.584, allocations: 25.7 kB / 1.247 GB, free: 26.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/2.584, allocations: 116.4 kB / 1.247 GB, free: 26.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.491e-05/2.584, allocations: 98.5 kB / 1.247 GB, free: 26.53 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.953e-05/2.584, allocations: 0 / 1.247 GB, free: 26.53 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.56e-05/2.584, allocations: 338.8 kB / 1.247 GB, free: 26.19 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/2.584, allocations: 96.64 kB / 1.247 GB, free: 26.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/2.585, allocations: 183.2 kB / 1.247 GB, free: 25.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/2.585, allocations: 126.8 kB / 1.248 GB, free: 25.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/2.585, allocations: 4 kB / 1.248 GB, free: 25.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004852/2.585, allocations: 321.2 kB / 1.248 GB, free: 25.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/2.585, allocations: 8.312 kB / 1.248 GB, free: 25.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/2.585, allocations: 7.984 kB / 1.248 GB, free: 25.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.427e-05/2.585, allocations: 7.938 kB / 1.248 GB, free: 25.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/2.586, allocations: 71.91 kB / 1.248 GB, free: 25.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/2.586, allocations: 11.92 kB / 1.248 GB, free: 25.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/2.586, allocations: 27.69 kB / 1.248 GB, free: 25.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/2.586, allocations: 19.92 kB / 1.248 GB, free: 25.28 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001045/2.586, allocations: 120.9 kB / 1.248 GB, free: 25.15 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004444/2.587, allocations: 269 kB / 1.248 GB, free: 24.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/2.587, allocations: 15.81 kB / 1.248 GB, free: 24.87 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005909/2.587, allocations: 327.7 kB / 1.249 GB, free: 24.54 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/2.587, allocations: 4 kB / 1.249 GB, free: 24.54 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/2.587, allocations: 0 / 1.249 GB, free: 24.54 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/2.587, allocations: 7.984 kB / 1.249 GB, free: 24.53 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004745/2.588, allocations: 321.3 kB / 1.249 GB, free: 24.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/2.588, allocations: 4 kB / 1.249 GB, free: 24.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003482/2.588, allocations: 59.89 kB / 1.249 GB, free: 24.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/2.588, allocations: 4 kB / 1.249 GB, free: 24.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/2.588, allocations: 4 kB / 1.249 GB, free: 24.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/2.588, allocations: 3.984 kB / 1.249 GB, free: 24.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/2.588, allocations: 0 / 1.249 GB, free: 24.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005733/2.589, allocations: 0.5239 MB / 1.25 GB, free: 23.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/2.589, allocations: 88.95 kB / 1.25 GB, free: 23.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/2.589, allocations: 4 kB / 1.25 GB, free: 23.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003332/2.589, allocations: 7.984 kB / 1.25 GB, free: 23.44 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/2.589, allocations: 24.03 kB / 1.25 GB, free: 23.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-05/2.589, allocations: 15.98 kB / 1.25 GB, free: 23.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.446e-05/2.589, allocations: 91.58 kB / 1.25 GB, free: 23.31 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.2e-07/2.589, allocations: 7.875 kB / 1.25 GB, free: 23.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00105/2.59, allocations: 263.6 kB / 1.25 GB, free: 23.04 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001996/2.592, allocations: 1.856 MB / 1.252 GB, free: 21.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003729/2.593, allocations: 267.7 kB / 1.252 GB, free: 20.89 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/2.593, allocations: 0 / 1.252 GB, free: 20.89 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/2.593, allocations: 133.5 kB / 1.252 GB, free: 20.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005454/2.594, allocations: 76.44 kB / 1.252 GB, free: 20.69 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/2.595, allocations: 0.7188 MB / 1.253 GB, free: 19.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/2.595, allocations: 0.7405 MB / 1.254 GB, free: 19.17 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004682/2.595, allocations: 90.12 kB / 1.254 GB, free: 19.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/2.596, allocations: 55.41 kB / 1.254 GB, free: 19.03 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/2.596, allocations: 0 / 1.254 GB, free: 19.03 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03865/2.634, allocations: 12.99 MB / 1.267 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/2.635, allocations: 132.4 kB / 1.267 GB, free: 5.852 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.296/4.931, allocations: 4 kB / 1.267 GB, free: 5.848 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat