Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002315/0.002315, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.177/2.177, allocations: 205.2 MB / 219.4 MB, free: 14.22 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 86.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3002/0.3002, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.987e-05/4.001e-05, allocations: 4 kB / 425.4 MB, free: 23.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.136, allocations: 58.86 MB / 484.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.418/2.554, allocations: 0.7388 GB / 1.212 GB, free: 94.39 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/2.554, allocations: 75.44 kB / 1.212 GB, free: 94.35 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.1419/2.696, allocations: 39.68 MB / 1.251 GB, free: 60.37 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.326e-05/2.696, allocations: 0 / 1.251 GB, free: 60.37 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.294e-05/2.696, allocations: 0 / 1.251 GB, free: 60.37 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.000967/2.697, allocations: 0.5093 MB / 1.251 GB, free: 59.82 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/2.697, allocations: 8.031 kB / 1.251 GB, free: 59.82 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.337e-05/2.697, allocations: 53.8 kB / 1.251 GB, free: 59.77 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004894/2.702, allocations: 362.8 kB / 1.251 GB, free: 59.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004406/2.703, allocations: 250 kB / 1.252 GB, free: 59.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/2.703, allocations: 27.27 kB / 1.252 GB, free: 59.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/2.703, allocations: 18.88 kB / 1.252 GB, free: 59.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/2.704, allocations: 463.9 kB / 1.252 GB, free: 58.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/2.704, allocations: 0 / 1.252 GB, free: 58.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.115e-05/2.704, allocations: 11.19 kB / 1.252 GB, free: 58.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/2.704, allocations: 4 kB / 1.252 GB, free: 58.83 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/2.705, allocations: 479.5 kB / 1.253 GB, free: 58.53 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.003043/2.708, allocations: 0.9998 MB / 1.254 GB, free: 57.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006565/2.709, allocations: 271.9 kB / 1.254 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/2.709, allocations: 151.4 kB / 1.254 GB, free: 57.36 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001629/2.711, allocations: 0.6571 MB / 1.255 GB, free: 56.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/2.711, allocations: 33.88 kB / 1.255 GB, free: 56.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=29): time 3.386e-06/2.711, allocations: 0 / 1.255 GB, free: 56.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29): time 0.0008455/2.712, allocations: 280 kB / 1.255 GB, free: 56.36 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/2.712, allocations: 81.11 kB / 1.255 GB, free: 56.26 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.949e-05/2.712, allocations: 106.1 kB / 1.255 GB, free: 56.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.468e-05/2.712, allocations: 30.77 kB / 1.255 GB, free: 56.12 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/2.712, allocations: 189.3 kB / 1.255 GB, free: 55.94 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.604e-05/2.712, allocations: 109.5 kB / 1.255 GB, free: 55.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/2.712, allocations: 8.562 kB / 1.255 GB, free: 55.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.865e-05/2.713, allocations: 326 kB / 1.256 GB, free: 55.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/2.713, allocations: 103 kB / 1.256 GB, free: 55.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/2.713, allocations: 192.2 kB / 1.256 GB, free: 55.28 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/2.713, allocations: 128.7 kB / 1.256 GB, free: 55.19 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/2.714, allocations: 0 / 1.256 GB, free: 55.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008592/2.714, allocations: 358.2 kB / 1.257 GB, free: 54.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/2.714, allocations: 8 kB / 1.257 GB, free: 54.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/2.714, allocations: 320 / 1.257 GB, free: 54.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/2.714, allocations: 15.94 kB / 1.257 GB, free: 54.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006904/2.715, allocations: 71.89 kB / 1.257 GB, free: 54.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/2.715, allocations: 11.89 kB / 1.257 GB, free: 54.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/2.716, allocations: 39.67 kB / 1.257 GB, free: 54.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.606e-05/2.716, allocations: 12 kB / 1.257 GB, free: 54.72 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.0001347/2.716, allocations: 127.5 kB / 1.257 GB, free: 54.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/2.716, allocations: 15.91 kB / 1.257 GB, free: 54.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/2.717, allocations: 350.1 kB / 1.257 GB, free: 54.22 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/2.717, allocations: 7.984 kB / 1.257 GB, free: 54.21 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/2.717, allocations: 0 / 1.257 GB, free: 54.21 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/2.717, allocations: 3.953 kB / 1.257 GB, free: 54.21 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008333/2.718, allocations: 364.8 kB / 1.257 GB, free: 53.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/2.718, allocations: 0 / 1.257 GB, free: 53.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006753/2.719, allocations: 63.91 kB / 1.258 GB, free: 53.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/2.719, allocations: 0 / 1.258 GB, free: 53.74 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.462e-05/2.719, allocations: 11.98 kB / 1.258 GB, free: 53.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/2.719, allocations: 4 kB / 1.258 GB, free: 53.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/2.719, allocations: 0 / 1.258 GB, free: 53.72 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009656/2.72, allocations: 0.5444 MB / 1.258 GB, free: 53.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/2.72, allocations: 92.95 kB / 1.258 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.027e-05/2.72, allocations: 12.05 kB / 1.258 GB, free: 53.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005757/2.72, allocations: 15.91 kB / 1.258 GB, free: 53.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/2.72, allocations: 23.92 kB / 1.258 GB, free: 53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.258e-05/2.721, allocations: 19.98 kB / 1.258 GB, free: 52.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.663e-05/2.721, allocations: 91.58 kB / 1.258 GB, free: 52.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.11e-07/2.721, allocations: 0 / 1.258 GB, free: 52.89 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001276/2.722, allocations: 255.8 kB / 1.259 GB, free: 52.64 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.002888/2.725, allocations: 1.82 MB / 1.26 GB, free: 50.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007272/2.726, allocations: 275.8 kB / 1.261 GB, free: 50.52 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/2.726, allocations: 0 / 1.261 GB, free: 50.52 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003057/2.726, allocations: 142.1 kB / 1.261 GB, free: 50.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000839/2.727, allocations: 80.86 kB / 1.261 GB, free: 50.31 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/2.729, allocations: 0.7841 MB / 1.262 GB, free: 49.48 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/2.729, allocations: 0.7326 MB / 1.262 GB, free: 48.72 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000321/2.729, allocations: 71.39 kB / 1.262 GB, free: 48.65 MB / 0.5105 GB Notification: Performance of SimCode: time 1.032e-06/2.729, allocations: 0 / 1.262 GB, free: 48.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.033/5.763, allocations: 9.832 MB / 1.272 GB, free: 38.8 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat