Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",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.001518/0.001519, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.725/1.725, allocations: 221.3 MB / 236 MB, free: 2.941 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.0009625/0.0009623, allocations: 95.98 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2615/0.2615, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.211e-05/4.215e-05, allocations: 8.156 kB / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1494, allocations: 61.9 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.99/15.13, allocations: 5.758 GB / 6.26 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/15.14, allocations: 67.97 kB / 6.26 GB, free: 145 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.265/17.4, allocations: 0.5183 GB / 6.778 GB, free: 16.6 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.264e-06/17.4, allocations: 0 / 6.778 GB, free: 16.6 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 7.074e-06/17.4, allocations: 0 / 6.778 GB, free: 16.6 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.009541/17.41, allocations: 0.6444 MB / 6.779 GB, free: 15.96 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 7.633e-05/17.41, allocations: 8.031 kB / 6.779 GB, free: 15.95 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.896e-05/17.41, allocations: 34.56 kB / 6.779 GB, free: 15.91 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/17.41, allocations: 15.92 kB / 6.779 GB, free: 15.89 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.573e-05/17.41, allocations: 165 kB / 6.779 GB, free: 15.7 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/17.41, allocations: 4 kB / 6.779 GB, free: 15.69 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/17.41, allocations: 0 / 6.779 GB, free: 15.69 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/17.41, allocations: 77.67 kB / 6.779 GB, free: 15.61 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/17.41, allocations: 3.938 kB / 6.779 GB, free: 15.61 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/17.41, allocations: 4 kB / 6.779 GB, free: 15.6 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/17.41, allocations: 4 kB / 6.779 GB, free: 15.6 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.204e-05/17.41, allocations: 75.91 kB / 6.779 GB, free: 15.52 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/17.41, allocations: 324.9 kB / 6.779 GB, free: 15.16 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.499e-05/17.41, allocations: 42.58 kB / 6.779 GB, free: 15.11 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.308e-05/17.41, allocations: 36.95 kB / 6.779 GB, free: 15.07 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003245/17.41, allocations: 2.58 MB / 6.782 GB, free: 12.14 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/17.41, allocations: 34.56 kB / 6.782 GB, free: 12.1 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/17.41, allocations: 0 / 6.782 GB, free: 12.1 MB / 0.5262 GB Notification: Performance of matching and sorting (n=9): time 0.0002275/17.41, allocations: 81.58 kB / 6.782 GB, free: 12.02 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/17.41, allocations: 55.41 kB / 6.782 GB, free: 11.95 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.742e-05/17.41, allocations: 89 kB / 6.782 GB, free: 11.86 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/17.41, allocations: 29.83 kB / 6.782 GB, free: 11.82 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.082e-05/17.41, allocations: 90.19 kB / 6.782 GB, free: 11.73 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/17.41, allocations: 30.22 kB / 6.782 GB, free: 11.7 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/17.41, allocations: 0 / 6.782 GB, free: 11.7 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.023e-05/17.41, allocations: 323 kB / 6.783 GB, free: 11.38 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.08e-05/17.41, allocations: 20 kB / 6.783 GB, free: 11.36 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.893e-05/17.41, allocations: 37.66 kB / 6.783 GB, free: 11.32 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.889e-05/17.41, allocations: 27.98 kB / 6.783 GB, free: 11.29 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/17.41, allocations: 0 / 6.783 GB, free: 11.29 MB / 0.5262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001293/17.41, allocations: 89.62 kB / 6.783 GB, free: 11.2 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/17.41, allocations: 4 kB / 6.783 GB, free: 11.19 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/17.41, allocations: 0 / 6.783 GB, free: 11.19 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/17.41, allocations: 4 kB / 6.783 GB, free: 11.19 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.897e-05/17.41, allocations: 15.92 kB / 6.783 GB, free: 11.17 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/17.41, allocations: 3.953 kB / 6.783 GB, free: 11.17 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.09e-05/17.41, allocations: 5.875 kB / 6.783 GB, free: 11.16 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/17.41, allocations: 4 kB / 6.783 GB, free: 11.16 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.111e-05/17.41, allocations: 105 kB / 6.783 GB, free: 11.05 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/17.41, allocations: 4 kB / 6.783 GB, free: 11.05 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/17.42, allocations: 155.1 kB / 6.783 GB, free: 10.89 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00011/17.42, allocations: 113.7 kB / 6.783 GB, free: 10.77 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/17.42, allocations: 112 / 6.783 GB, free: 10.77 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/17.42, allocations: 7.891 kB / 6.783 GB, free: 10.77 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003549/17.42, allocations: 438.9 kB / 6.784 GB, free: 10.29 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/17.42, allocations: 0 / 6.784 GB, free: 10.29 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.115e-05/17.42, allocations: 15.94 kB / 6.784 GB, free: 10.27 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/17.42, allocations: 3.953 kB / 6.784 GB, free: 10.27 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/17.42, allocations: 7.984 kB / 6.784 GB, free: 10.26 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/17.42, allocations: 0 / 6.784 GB, free: 10.26 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/17.42, allocations: 0 / 6.784 GB, free: 10.26 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/17.42, allocations: 215.5 kB / 6.784 GB, free: 10.04 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/17.42, allocations: 86.98 kB / 6.784 GB, free: 9.938 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/17.42, allocations: 7.672 kB / 6.784 GB, free: 9.934 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.467e-05/17.42, allocations: 7.938 kB / 6.784 GB, free: 9.926 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.563e-05/17.42, allocations: 15.91 kB / 6.784 GB, free: 9.91 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/17.42, allocations: 4 kB / 6.784 GB, free: 9.906 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 1.639e-05/17.42, allocations: 75.28 kB / 6.784 GB, free: 9.832 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.6e-07/17.42, allocations: 96 / 6.784 GB, free: 9.832 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.005912/17.42, allocations: 395.4 kB / 6.784 GB, free: 9.473 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.04792/17.47, allocations: 8.904 MB / 6.793 GB, free: 0.6367 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0002752/17.47, allocations: 113.5 kB / 6.793 GB, free: 0.5195 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/17.47, allocations: 4 kB / 6.793 GB, free: 0.5156 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 5.992e-05/17.47, allocations: 55.92 kB / 6.793 GB, free: 472 kB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/17.47, allocations: 39.09 kB / 6.793 GB, free: 436 kB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005322/17.48, allocations: 349.1 kB / 6.794 GB, free: 80 kB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/17.48, allocations: 0.6964 MB / 6.794 GB, free: 15.36 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 8.118e-05/17.48, allocations: 12.8 kB / 6.794 GB, free: 15.34 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.163e-05/17.48, allocations: 27.44 kB / 6.794 GB, free: 15.32 MB / 0.5418 GB Notification: Performance of SimCode: time 8.42e-07/17.48, allocations: 0 / 6.794 GB, free: 15.32 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04627/17.52, allocations: 21.19 MB / 6.815 GB, free: 10.2 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/17.52, allocations: 160.8 kB / 6.815 GB, free: 9.973 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.733/20.26, allocations: 0 / 6.815 GB, free: 9.973 MB / 0.5574 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat does not exist to compare? outputFormat=mat