Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.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.IdealGasN2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2",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.001745/0.001744, allocations: 179.6 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.634/1.634, allocations: 221.3 MB / 236 MB, free: 2.953 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.001073/0.001073, allocations: 88.05 kB / 287 MB, free: 240 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.2614/0.2614, allocations: 44.14 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.612e-05/4.616e-05, allocations: 4.203 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1682, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.821/1.989, allocations: 462.4 MB / 0.9534 GB, free: 158.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004396/1.989, allocations: 69.73 kB / 0.9535 GB, free: 158.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0654/2.055, allocations: 30.46 MB / 0.9832 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.535e-06/2.055, allocations: 4 kB / 0.9832 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.561e-05/2.055, allocations: 0 / 0.9832 GB, free: 142.5 MB / 0.5261 GB 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.0004856/2.055, allocations: 396.4 kB / 0.9836 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/2.055, allocations: 8.031 kB / 0.9836 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.599e-05/2.055, allocations: 38 kB / 0.9836 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/2.057, allocations: 188.8 kB / 0.9838 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/2.057, allocations: 204.1 kB / 0.984 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/2.057, allocations: 6.75 kB / 0.984 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.359e-05/2.057, allocations: 11.44 kB / 0.984 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/2.058, allocations: 214.2 kB / 0.9842 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/2.058, allocations: 0 / 0.9842 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/2.058, allocations: 3.125 kB / 0.9842 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/2.058, allocations: 4 kB / 0.9842 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002979/2.058, allocations: 155.3 kB / 0.9844 GB, free: 141.4 MB / 0.5261 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.000947/2.059, allocations: 0.5706 MB / 0.985 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/2.059, allocations: 126.4 kB / 0.9851 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.711e-05/2.06, allocations: 63.73 kB / 0.9851 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/2.06, allocations: 0 / 0.9851 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/2.06, allocations: 42.55 kB / 0.9852 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/2.06, allocations: 0 / 0.9852 GB, free: 140.6 MB / 0.5261 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.004282/2.064, allocations: 1.098 MB / 0.9862 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/2.064, allocations: 51.41 kB / 0.9863 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.611e-05/2.064, allocations: 112.7 kB / 0.9864 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/2.064, allocations: 28.95 kB / 0.9864 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/2.064, allocations: 99.33 kB / 0.9865 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/2.064, allocations: 64.59 kB / 0.9866 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/2.064, allocations: 3.312 kB / 0.9866 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.632e-05/2.064, allocations: 317.7 kB / 0.9869 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.938e-05/2.064, allocations: 62.86 kB / 0.987 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/2.064, allocations: 100.8 kB / 0.9871 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/2.065, allocations: 80.08 kB / 0.9871 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/2.065, allocations: 0 / 0.9871 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003605/2.065, allocations: 256.5 kB / 0.9874 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/2.065, allocations: 5.25 kB / 0.9874 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/2.065, allocations: 0 / 0.9874 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/2.065, allocations: 48.14 kB / 0.9874 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/2.065, allocations: 55.75 kB / 0.9875 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003379/2.066, allocations: 0.5665 MB / 0.988 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/2.066, allocations: 11.59 kB / 0.988 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/2.066, allocations: 27.42 kB / 0.9881 GB, free: 137.8 MB / 0.5261 GB 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 8.486e-05/2.066, allocations: 114.8 kB / 0.9882 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/2.066, allocations: 15.86 kB / 0.9882 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007086/2.067, allocations: 338.8 kB / 0.9885 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/2.067, allocations: 0 / 0.9885 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/2.067, allocations: 7.938 kB / 0.9885 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/2.067, allocations: 0 / 0.9885 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007518/2.068, allocations: 0.6022 MB / 0.9891 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/2.068, allocations: 4.094 kB / 0.9891 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003187/2.068, allocations: 62.58 kB / 0.9892 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.537e-05/2.068, allocations: 23.22 kB / 0.9892 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/2.068, allocations: 12.3 kB / 0.9892 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000655/2.069, allocations: 1.274 MB / 0.9905 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/2.069, allocations: 0 / 0.9905 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005139/2.069, allocations: 455.3 kB / 0.9909 GB, free: 135 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/2.069, allocations: 92.97 kB / 0.991 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/2.069, allocations: 6.188 kB / 0.991 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/2.07, allocations: 6.125 kB / 0.991 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/2.07, allocations: 28.41 kB / 0.991 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/2.07, allocations: 29.98 kB / 0.991 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.666e-05/2.07, allocations: 85.55 kB / 0.9911 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/2.07, allocations: 0 / 0.9911 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005374/2.07, allocations: 118.2 kB / 0.9912 GB, free: 134.7 MB / 0.5261 GB 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.001431/2.072, allocations: 1.612 MB / 0.9928 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004116/2.072, allocations: 195.1 kB / 0.993 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/2.072, allocations: 4.188 kB / 0.993 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002626/2.072, allocations: 213.5 kB / 0.9932 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/2.073, allocations: 48.5 kB / 0.9932 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007404/2.074, allocations: 387.5 kB / 0.9936 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/2.074, allocations: 0.7166 MB / 0.9943 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003893/2.074, allocations: 81.38 kB / 0.9944 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/2.074, allocations: 68.45 kB / 0.9945 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of SimCode: time 2.71e-07/2.074, allocations: 4 kB / 0.9945 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/2.104, allocations: 15.71 MB / 1.01 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/2.104, allocations: 182.4 kB / 1.01 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.279/4.383, allocations: 4 kB / 1.01 GB, free: 115.6 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat