Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",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.001458/0.001458, allocations: 170.4 kB / 8.739 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.511/1.511, allocations: 221.5 MB / 230.7 MB, free: 7.523 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.00121/0.00121, allocations: 97.84 kB / 281.6 MB, free: 5.266 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.2161/0.2161, allocations: 44.16 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.13e-05/2.142e-05, allocations: 4.156 kB / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1595, allocations: 61.92 MB / 0.4948 GB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.233/2.392, allocations: 0.7073 GB / 1.202 GB, free: 91.21 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/2.393, allocations: 75.95 kB / 1.202 GB, free: 91.13 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.08428/2.477, allocations: 39.94 MB / 1.241 GB, free: 50.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.803e-06/2.477, allocations: 0 / 1.241 GB, free: 50.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.344e-05/2.477, allocations: 8 kB / 1.241 GB, free: 50.92 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008773/2.478, allocations: 0.5092 MB / 1.242 GB, free: 50.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/2.478, allocations: 11.98 kB / 1.242 GB, free: 50.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002949/2.481, allocations: 379.8 kB / 1.242 GB, free: 49.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/2.481, allocations: 254.8 kB / 1.242 GB, free: 49.69 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/2.481, allocations: 8 kB / 1.242 GB, free: 49.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.177e-05/2.481, allocations: 12 kB / 1.242 GB, free: 49.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007406/2.482, allocations: 464.5 kB / 1.243 GB, free: 49.22 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004434/2.483, allocations: 305.4 kB / 1.243 GB, free: 48.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/2.483, allocations: 0 / 1.243 GB, free: 48.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/2.483, allocations: 0 / 1.243 GB, free: 48.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/2.483, allocations: 4 kB / 1.243 GB, free: 48.91 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.001832/2.484, allocations: 0.9316 MB / 1.244 GB, free: 47.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/2.485, allocations: 253.2 kB / 1.244 GB, free: 47.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/2.485, allocations: 137.6 kB / 1.244 GB, free: 47.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001433/2.486, allocations: 0.7542 MB / 1.245 GB, free: 46.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/2.487, allocations: 38.81 kB / 1.245 GB, free: 46.59 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=29): time 2.464e-06/2.487, allocations: 0 / 1.245 GB, free: 46.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29): time 0.000638/2.487, allocations: 270.5 kB / 1.245 GB, free: 46.33 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/2.487, allocations: 77.11 kB / 1.245 GB, free: 46.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/2.487, allocations: 109 kB / 1.246 GB, free: 46.12 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/2.487, allocations: 25.7 kB / 1.246 GB, free: 46.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/2.487, allocations: 116.4 kB / 1.246 GB, free: 45.97 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.748e-05/2.488, allocations: 98.56 kB / 1.246 GB, free: 45.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/2.488, allocations: 0 / 1.246 GB, free: 45.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.452e-05/2.488, allocations: 326.8 kB / 1.246 GB, free: 45.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/2.488, allocations: 96.64 kB / 1.246 GB, free: 45.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/2.488, allocations: 191.2 kB / 1.246 GB, free: 45.23 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/2.488, allocations: 127.8 kB / 1.246 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/2.488, allocations: 0 / 1.246 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005236/2.489, allocations: 325.2 kB / 1.247 GB, free: 44.78 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/2.489, allocations: 4.312 kB / 1.247 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/2.489, allocations: 8 kB / 1.247 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.2e-05/2.489, allocations: 4 kB / 1.247 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003692/2.489, allocations: 75.89 kB / 1.247 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/2.489, allocations: 7.938 kB / 1.247 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/2.49, allocations: 31.67 kB / 1.247 GB, free: 44.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/2.49, allocations: 15.98 kB / 1.247 GB, free: 44.63 MB / 0.5105 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.0001393/2.49, allocations: 116.9 kB / 1.247 GB, free: 44.51 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005092/2.49, allocations: 265.3 kB / 1.247 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.322e-05/2.49, allocations: 23.73 kB / 1.247 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006806/2.491, allocations: 336.5 kB / 1.248 GB, free: 43.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/2.491, allocations: 4 kB / 1.248 GB, free: 43.89 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/2.491, allocations: 0 / 1.248 GB, free: 43.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-06/2.491, allocations: 0 / 1.248 GB, free: 43.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005799/2.492, allocations: 317 kB / 1.248 GB, free: 43.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/2.492, allocations: 7.938 kB / 1.248 GB, free: 43.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/2.492, allocations: 51.97 kB / 1.248 GB, free: 43.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/2.492, allocations: 0 / 1.248 GB, free: 43.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/2.492, allocations: 11.98 kB / 1.248 GB, free: 43.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/2.492, allocations: 11.92 kB / 1.248 GB, free: 43.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/2.492, allocations: 0 / 1.248 GB, free: 43.46 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006919/2.493, allocations: 0.5174 MB / 1.248 GB, free: 42.92 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.634e-05/2.493, allocations: 88.95 kB / 1.249 GB, free: 42.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/2.493, allocations: 4.062 kB / 1.249 GB, free: 42.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003317/2.493, allocations: 15.92 kB / 1.249 GB, free: 42.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/2.493, allocations: 15.97 kB / 1.249 GB, free: 42.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.145e-05/2.493, allocations: 19.98 kB / 1.249 GB, free: 42.76 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.009e-05/2.493, allocations: 87.28 kB / 1.249 GB, free: 42.67 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/2.493, allocations: 4 kB / 1.249 GB, free: 42.67 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001453/2.495, allocations: 255.6 kB / 1.249 GB, free: 42.42 MB / 0.5105 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.002766/2.498, allocations: 1.864 MB / 1.251 GB, free: 40.53 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004804/2.498, allocations: 259.8 kB / 1.251 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/2.498, allocations: 0 / 1.251 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/2.498, allocations: 139.8 kB / 1.251 GB, free: 40.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000597/2.499, allocations: 68.48 kB / 1.251 GB, free: 40.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/2.5, allocations: 0.7344 MB / 1.252 GB, free: 39.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/2.501, allocations: 0.744 MB / 1.253 GB, free: 38.52 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004874/2.501, allocations: 82.12 kB / 1.253 GB, free: 38.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/2.501, allocations: 67.41 kB / 1.253 GB, free: 38.38 MB / 0.5105 GB Notification: Performance of SimCode: time 3.91e-07/2.501, allocations: 0 / 1.253 GB, free: 38.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03684/2.538, allocations: 12.96 MB / 1.265 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/2.538, allocations: 136.8 kB / 1.266 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/4.748, allocations: 3.625 kB / 1.266 GB, free: 25.26 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat