Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_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.002241/0.002241, allocations: 177.8 kB / 8.697 MB, free: 384 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.092/2.092, allocations: 205.3 MB / 214.4 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.00121/0.00121, allocations: 86.69 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.234e-05/2.237e-05, allocations: 4 kB / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1238, allocations: 47.59 MB / 363.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.438/2.562, allocations: 0.7175 GB / 1.072 GB, free: 111.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/2.562, allocations: 81.56 kB / 1.072 GB, free: 111.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07065/2.633, allocations: 33.19 MB / 1.105 GB, free: 84.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.524e-06/2.633, allocations: 0 / 1.105 GB, free: 84.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.401e-05/2.633, allocations: 4 kB / 1.105 GB, free: 84.48 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004581/2.633, allocations: 415 kB / 1.105 GB, free: 84.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/2.633, allocations: 8.031 kB / 1.105 GB, free: 84.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/2.635, allocations: 189.7 kB / 1.105 GB, free: 83.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/2.635, allocations: 212.7 kB / 1.105 GB, free: 83.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/2.635, allocations: 0 / 1.105 GB, free: 83.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.098e-05/2.635, allocations: 15.84 kB / 1.105 GB, free: 83.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003447/2.636, allocations: 191.2 kB / 1.106 GB, free: 83.49 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/2.636, allocations: 149.8 kB / 1.106 GB, free: 83.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/2.636, allocations: 0 / 1.106 GB, free: 83.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/2.636, allocations: 3.984 kB / 1.106 GB, free: 83.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/2.636, allocations: 4 kB / 1.106 GB, free: 83.37 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.001265/2.637, allocations: 0.5841 MB / 1.106 GB, free: 82.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/2.637, allocations: 147.5 kB / 1.106 GB, free: 82.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/2.638, allocations: 66.98 kB / 1.107 GB, free: 82.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001917/2.638, allocations: 96.95 kB / 1.107 GB, free: 82.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/2.638, allocations: 34.55 kB / 1.107 GB, free: 82.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/2.638, allocations: 4 kB / 1.107 GB, free: 82.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.003659/2.641, allocations: 1.001 MB / 1.108 GB, free: 81.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/2.642, allocations: 55.39 kB / 1.108 GB, free: 81.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.95e-05/2.642, allocations: 100.4 kB / 1.108 GB, free: 81.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/2.642, allocations: 25.7 kB / 1.108 GB, free: 81.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/2.642, allocations: 104.1 kB / 1.108 GB, free: 81.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/2.642, allocations: 66.33 kB / 1.108 GB, free: 81.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.758e-05/2.642, allocations: 0 / 1.108 GB, free: 81.22 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.704e-05/2.642, allocations: 322.7 kB / 1.108 GB, free: 80.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.026e-05/2.642, allocations: 65.75 kB / 1.108 GB, free: 80.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/2.642, allocations: 109.5 kB / 1.108 GB, free: 80.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/2.642, allocations: 91.83 kB / 1.109 GB, free: 80.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/2.642, allocations: 3.938 kB / 1.109 GB, free: 80.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003288/2.642, allocations: 230.7 kB / 1.109 GB, free: 80.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/2.643, allocations: 4 kB / 1.109 GB, free: 80.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/2.643, allocations: 4 kB / 1.109 GB, free: 80.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001109/2.643, allocations: 20.53 kB / 1.109 GB, free: 80.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/2.643, allocations: 55.91 kB / 1.109 GB, free: 80.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000262/2.643, allocations: 0.5363 MB / 1.109 GB, free: 79.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/2.643, allocations: 4.031 kB / 1.109 GB, free: 79.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/2.644, allocations: 11.98 kB / 1.109 GB, free: 79.89 MB / 426.7 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 9.563e-05/2.644, allocations: 112.6 kB / 1.109 GB, free: 79.78 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003149/2.644, allocations: 212.6 kB / 1.11 GB, free: 79.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/2.644, allocations: 7.906 kB / 1.11 GB, free: 79.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004536/2.644, allocations: 262.9 kB / 1.11 GB, free: 79.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/2.644, allocations: 4 kB / 1.11 GB, free: 79.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/2.644, allocations: 0 / 1.11 GB, free: 79.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/2.644, allocations: 0 / 1.11 GB, free: 79.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007227/2.645, allocations: 0.5933 MB / 1.111 GB, free: 78.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/2.645, allocations: 0 / 1.111 GB, free: 78.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/2.646, allocations: 51.89 kB / 1.111 GB, free: 78.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.004e-05/2.646, allocations: 20.84 kB / 1.111 GB, free: 78.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/2.646, allocations: 4 kB / 1.111 GB, free: 78.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005911/2.646, allocations: 1.225 MB / 1.112 GB, free: 77.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/2.646, allocations: 4.031 kB / 1.112 GB, free: 77.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004645/2.647, allocations: 436 kB / 1.112 GB, free: 76.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/2.647, allocations: 85 kB / 1.112 GB, free: 76.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/2.647, allocations: 4 kB / 1.112 GB, free: 76.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/2.647, allocations: 4.062 kB / 1.112 GB, free: 76.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/2.647, allocations: 19.97 kB / 1.112 GB, free: 76.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/2.647, allocations: 19.94 kB / 1.112 GB, free: 76.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.11e-05/2.647, allocations: 87.25 kB / 1.112 GB, free: 76.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/2.647, allocations: 0 / 1.112 GB, free: 76.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006534/2.648, allocations: 155.9 kB / 1.113 GB, free: 76.38 MB / 426.7 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.001631/2.649, allocations: 1.768 MB / 1.114 GB, free: 74.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003436/2.65, allocations: 191.9 kB / 1.114 GB, free: 74.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/2.65, allocations: 0 / 1.114 GB, free: 74.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002209/2.65, allocations: 204.7 kB / 1.115 GB, free: 74.17 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/2.65, allocations: 37.7 kB / 1.115 GB, free: 74.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007238/2.651, allocations: 385.4 kB / 1.115 GB, free: 73.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/2.651, allocations: 0.7202 MB / 1.116 GB, free: 72.96 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003409/2.652, allocations: 45.17 kB / 1.116 GB, free: 72.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/2.652, allocations: 43.36 kB / 1.116 GB, free: 72.88 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/2.652, allocations: 0 / 1.116 GB, free: 72.88 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05554/2.707, allocations: 9.814 MB / 1.125 GB, free: 63.05 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002681/2.708, allocations: 145.2 kB / 1.126 GB, free: 62.85 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.178/4.885, allocations: 0 / 1.126 GB, free: 62.85 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat