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.001126/0.001126, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.546/1.546, allocations: 223.2 MB / 241 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 91.98 kB / 292.1 MB, free: 10.69 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.5226/0.5226, allocations: 44.21 MB / 387.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004689/0.0004691, allocations: 12 kB / 460 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5064/0.5069, allocations: 61.9 MB / 0.5096 GB, free: 37.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.465/1.972, allocations: 462.5 MB / 0.9613 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/1.972, allocations: 81.17 kB / 0.9614 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.06266/2.035, allocations: 30.53 MB / 0.9912 GB, free: 92.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.307e-06/2.035, allocations: 0 / 0.9912 GB, free: 92.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.589e-05/2.035, allocations: 4 kB / 0.9912 GB, free: 92.71 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.0004854/2.035, allocations: 413.9 kB / 0.9916 GB, free: 92.26 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/2.035, allocations: 8.031 kB / 0.9916 GB, free: 92.25 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.631e-05/2.035, allocations: 46.23 kB / 0.9917 GB, free: 92.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001661/2.037, allocations: 178.2 kB / 0.9918 GB, free: 92.05 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/2.037, allocations: 195.6 kB / 0.992 GB, free: 91.83 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/2.037, allocations: 7.812 kB / 0.992 GB, free: 91.83 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.843e-05/2.037, allocations: 7.875 kB / 0.992 GB, free: 91.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005802/2.038, allocations: 228 kB / 0.9923 GB, free: 91.64 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/2.038, allocations: 0 / 0.9923 GB, free: 91.64 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/2.038, allocations: 3.062 kB / 0.9923 GB, free: 91.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/2.038, allocations: 4 kB / 0.9923 GB, free: 91.63 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004319/2.039, allocations: 169.2 kB / 0.9924 GB, free: 91.52 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.001076/2.04, allocations: 0.5764 MB / 0.993 GB, free: 90.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000325/2.04, allocations: 131.6 kB / 0.9931 GB, free: 90.85 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/2.04, allocations: 4 kB / 0.9931 GB, free: 90.85 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/2.04, allocations: 38.25 kB / 0.9931 GB, free: 90.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/2.04, allocations: 3.938 kB / 0.9932 GB, free: 90.8 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.005361/2.045, allocations: 1.313 MB / 0.9944 GB, free: 89.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/2.045, allocations: 55.36 kB / 0.9945 GB, free: 89.54 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.253e-05/2.046, allocations: 101.1 kB / 0.9946 GB, free: 89.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/2.046, allocations: 33.39 kB / 0.9946 GB, free: 89.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.214e-05/2.046, allocations: 94.25 kB / 0.9947 GB, free: 89.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.23e-05/2.046, allocations: 75 kB / 0.9948 GB, free: 89.24 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/2.046, allocations: 7.25 kB / 0.9948 GB, free: 89.23 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001346/2.046, allocations: 321.3 kB / 0.9951 GB, free: 88.92 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/2.046, allocations: 70.2 kB / 0.9952 GB, free: 88.87 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/2.046, allocations: 106.9 kB / 0.9953 GB, free: 88.78 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/2.047, allocations: 81.73 kB / 0.9953 GB, free: 88.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/2.047, allocations: 0 / 0.9953 GB, free: 88.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004897/2.047, allocations: 259.3 kB / 0.9956 GB, free: 88.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/2.047, allocations: 7.984 kB / 0.9956 GB, free: 88.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/2.047, allocations: 0 / 0.9956 GB, free: 88.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002278/2.047, allocations: 48.33 kB / 0.9956 GB, free: 88.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/2.048, allocations: 55.91 kB / 0.9957 GB, free: 88.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004195/2.048, allocations: 0.5706 MB / 0.9962 GB, free: 87.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/2.048, allocations: 7.531 kB / 0.9963 GB, free: 87.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/2.048, allocations: 23.98 kB / 0.9963 GB, free: 87.82 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 () * Number of clocked 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 0.0001478/2.048, allocations: 129.4 kB / 0.9964 GB, free: 87.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/2.049, allocations: 11.86 kB / 0.9964 GB, free: 87.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008108/2.049, allocations: 343.5 kB / 0.9967 GB, free: 87.42 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/2.049, allocations: 7.984 kB / 0.9967 GB, free: 87.41 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/2.049, allocations: 0 / 0.9967 GB, free: 87.41 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/2.049, allocations: 3.938 kB / 0.9968 GB, free: 87.41 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009142/2.05, allocations: 0.6101 MB / 0.9973 GB, free: 86.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/2.05, allocations: 0 / 0.9973 GB, free: 86.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/2.051, allocations: 63.48 kB / 0.9974 GB, free: 86.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.589e-05/2.051, allocations: 28.28 kB / 0.9974 GB, free: 86.74 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/2.051, allocations: 11.97 kB / 0.9974 GB, free: 86.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006606/2.051, allocations: 1.272 MB / 0.9987 GB, free: 85.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/2.051, allocations: 4.031 kB / 0.9987 GB, free: 85.37 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005899/2.052, allocations: 466.8 kB / 0.9991 GB, free: 84.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/2.052, allocations: 85.02 kB / 0.9992 GB, free: 84.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/2.052, allocations: 3.688 kB / 0.9992 GB, free: 84.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/2.052, allocations: 15.28 kB / 0.9992 GB, free: 84.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/2.052, allocations: 27.84 kB / 0.9993 GB, free: 84.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/2.052, allocations: 32.05 kB / 0.9993 GB, free: 84.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.71e-05/2.053, allocations: 90.64 kB / 0.9994 GB, free: 84.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/2.053, allocations: 0 / 0.9994 GB, free: 84.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000568/2.053, allocations: 119.9 kB / 0.9995 GB, free: 84.61 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 () * Number of clocked 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.001743/2.055, allocations: 1.632 MB / 1.001 GB, free: 83.02 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004718/2.055, allocations: 206.6 kB / 1.001 GB, free: 82.88 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/2.055, allocations: 0 / 1.001 GB, free: 82.88 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00031/2.056, allocations: 224 kB / 1.001 GB, free: 82.67 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/2.056, allocations: 50.58 kB / 1.002 GB, free: 82.63 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/2.058, allocations: 1.559 MB / 1.003 GB, free: 81.11 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/2.058, allocations: 0.7127 MB / 1.004 GB, free: 80.38 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004179/2.058, allocations: 69.39 kB / 1.004 GB, free: 80.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/2.059, allocations: 73.7 kB / 1.004 GB, free: 80.25 MB / 0.5261 GB Notification: Performance of SimCode: time 2.41e-07/2.059, allocations: 0 / 1.004 GB, free: 80.25 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/2.087, allocations: 14.16 MB / 1.018 GB, free: 66.24 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/2.087, allocations: 207.2 kB / 1.018 GB, free: 65.99 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.018/4.105, allocations: 0 / 1.018 GB, free: 65.99 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