Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.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.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",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.00233/0.00233, allocations: 177.7 kB / 8.697 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.111/2.111, allocations: 205.3 MB / 214.4 MB, free: 1.734 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.0009229/0.0009231, allocations: 86.36 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.48e-05/2.523e-05, allocations: 4 kB / 315.6 MB, free: 22.64 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1142, allocations: 47.59 MB / 363.2 MB, free: 6.992 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.511/1.625, allocations: 451 MB / 0.795 GB, free: 76.23 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003907/1.626, allocations: 83.89 kB / 0.7951 GB, free: 76.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0577/1.683, allocations: 29.27 MB / 0.8237 GB, free: 46.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.373e-06/1.683, allocations: 0 / 0.8237 GB, free: 46.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/1.684, allocations: 4 kB / 0.8237 GB, free: 46.71 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004118/1.684, allocations: 391.3 kB / 0.8241 GB, free: 46.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/1.684, allocations: 8.031 kB / 0.8241 GB, free: 46.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/1.686, allocations: 183.6 kB / 0.8243 GB, free: 46.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/1.686, allocations: 203 kB / 0.8245 GB, free: 45.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/1.686, allocations: 4.219 kB / 0.8245 GB, free: 45.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/1.686, allocations: 11.94 kB / 0.8245 GB, free: 45.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002786/1.686, allocations: 147.9 kB / 0.8246 GB, free: 45.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/1.686, allocations: 136.1 kB / 0.8247 GB, free: 45.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/1.686, allocations: 4 kB / 0.8247 GB, free: 45.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/1.686, allocations: 0 / 0.8247 GB, free: 45.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/1.686, allocations: 0 / 0.8247 GB, free: 45.55 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.0008651/1.687, allocations: 0.5449 MB / 0.8253 GB, free: 44.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/1.687, allocations: 122.5 kB / 0.8254 GB, free: 44.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.309e-05/1.688, allocations: 60.86 kB / 0.8255 GB, free: 44.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/1.688, allocations: 0 / 0.8255 GB, free: 44.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/1.688, allocations: 42.55 kB / 0.8255 GB, free: 44.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/1.688, allocations: 7.938 kB / 0.8255 GB, free: 44.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.003548/1.691, allocations: 0.8842 MB / 0.8264 GB, free: 43.74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/1.691, allocations: 55.41 kB / 0.8264 GB, free: 43.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.07e-05/1.691, allocations: 101 kB / 0.8265 GB, free: 43.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/1.691, allocations: 29.7 kB / 0.8265 GB, free: 43.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.27e-05/1.691, allocations: 99.89 kB / 0.8266 GB, free: 43.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/1.691, allocations: 63.09 kB / 0.8267 GB, free: 43.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.75e-05/1.691, allocations: 0 / 0.8267 GB, free: 43.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.902e-05/1.692, allocations: 318.8 kB / 0.827 GB, free: 43.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.165e-05/1.692, allocations: 63.98 kB / 0.8271 GB, free: 42.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.805e-05/1.692, allocations: 96.02 kB / 0.8272 GB, free: 42.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/1.692, allocations: 76.89 kB / 0.8272 GB, free: 42.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/1.692, allocations: 0 / 0.8272 GB, free: 42.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003286/1.692, allocations: 232.6 kB / 0.8274 GB, free: 42.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/1.692, allocations: 4 kB / 0.8275 GB, free: 42.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.692, allocations: 4 kB / 0.8275 GB, free: 42.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001415/1.692, allocations: 36.84 kB / 0.8275 GB, free: 42.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/1.693, allocations: 63.98 kB / 0.8276 GB, free: 42.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003418/1.693, allocations: 0.568 MB / 0.8281 GB, free: 41.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/1.693, allocations: 3.938 kB / 0.8281 GB, free: 41.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/1.693, allocations: 24 kB / 0.8281 GB, free: 41.84 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.425e-05/1.693, allocations: 124.9 kB / 0.8283 GB, free: 41.71 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003045/1.694, allocations: 210.3 kB / 0.8285 GB, free: 41.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/1.694, allocations: 11.91 kB / 0.8285 GB, free: 41.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006177/1.694, allocations: 323 kB / 0.8288 GB, free: 41.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/1.694, allocations: 8 kB / 0.8288 GB, free: 41.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/1.694, allocations: 0 / 0.8288 GB, free: 41.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.694, allocations: 0 / 0.8288 GB, free: 41.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006798/1.695, allocations: 0.5615 MB / 0.8293 GB, free: 40.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.695, allocations: 0 / 0.8293 GB, free: 40.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/1.695, allocations: 55.95 kB / 0.8294 GB, free: 40.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.547e-05/1.696, allocations: 24.84 kB / 0.8294 GB, free: 40.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/1.696, allocations: 8 kB / 0.8294 GB, free: 40.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006427/1.696, allocations: 1.221 MB / 0.8306 GB, free: 39.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.696, allocations: 0 / 0.8306 GB, free: 39.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/1.697, allocations: 435.9 kB / 0.831 GB, free: 38.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.941e-05/1.697, allocations: 89 kB / 0.8311 GB, free: 38.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/1.697, allocations: 4 kB / 0.8311 GB, free: 38.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/1.697, allocations: 4.062 kB / 0.8311 GB, free: 38.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/1.697, allocations: 19.97 kB / 0.8311 GB, free: 38.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-05/1.697, allocations: 31.98 kB / 0.8312 GB, free: 38.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.868e-05/1.697, allocations: 87.27 kB / 0.8312 GB, free: 38.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/1.697, allocations: 0 / 0.8312 GB, free: 38.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004857/1.698, allocations: 103.9 kB / 0.8313 GB, free: 38.29 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 (21): * Single equations (assignments): 20 * 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.001444/1.699, allocations: 1.694 MB / 0.833 GB, free: 36.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003496/1.699, allocations: 188 kB / 0.8332 GB, free: 36.37 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.699, allocations: 0 / 0.8332 GB, free: 36.37 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002268/1.7, allocations: 201.7 kB / 0.8334 GB, free: 36.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/1.7, allocations: 37.84 kB / 0.8334 GB, free: 36.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007689/1.701, allocations: 377.3 kB / 0.8338 GB, free: 35.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/1.701, allocations: 0.7124 MB / 0.8345 GB, free: 34.97 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004043/1.701, allocations: 77.17 kB / 0.8345 GB, free: 34.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/1.702, allocations: 67.41 kB / 0.8346 GB, free: 34.83 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/1.702, allocations: 0 / 0.8346 GB, free: 34.83 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03532/1.737, allocations: 9.495 MB / 0.8439 GB, free: 25.33 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002415/1.737, allocations: 129.2 kB / 0.844 GB, free: 25.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.288/4.025, allocations: 4 kB / 0.844 GB, free: 25.13 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat