Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01064/0.01064, allocations: 165.5 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.892/1.892, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002041/0.002041, allocations: 103.3 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4778/0.4778, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000655/0.0006552, allocations: 12 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.114, allocations: 48.71 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.492/1.606, allocations: 449.7 MB / 0.8412 GB, free: 57.16 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/1.606, allocations: 73.39 kB / 0.8412 GB, free: 57.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1009/1.707, allocations: 29.88 MB / 0.8704 GB, free: 32.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.805e-06/1.707, allocations: 0 / 0.8704 GB, free: 32.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.58e-05/1.707, allocations: 8 kB / 0.8704 GB, free: 32.13 MB / 426.7 MB 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.0005371/1.708, allocations: 401.7 kB / 0.8708 GB, free: 31.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.708, allocations: 8.031 kB / 0.8708 GB, free: 31.69 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.306e-05/1.708, allocations: 45.39 kB / 0.8709 GB, free: 31.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002772/1.711, allocations: 180 kB / 0.871 GB, free: 31.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/1.711, allocations: 201.1 kB / 0.8712 GB, free: 31.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/1.711, allocations: 11.38 kB / 0.8712 GB, free: 31.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.057e-05/1.711, allocations: 11.56 kB / 0.8712 GB, free: 31.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007483/1.712, allocations: 225.4 kB / 0.8715 GB, free: 31.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/1.712, allocations: 3.938 kB / 0.8715 GB, free: 31.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.273e-05/1.712, allocations: 11.61 kB / 0.8715 GB, free: 31.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/1.712, allocations: 0 / 0.8715 GB, free: 31.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007165/1.713, allocations: 175.5 kB / 0.8716 GB, free: 30.9 MB / 426.7 MB 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.001247/1.714, allocations: 0.5628 MB / 0.8722 GB, free: 30.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005002/1.714, allocations: 138.5 kB / 0.8723 GB, free: 30.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.708e-05/1.715, allocations: 7.938 kB / 0.8723 GB, free: 30.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/1.715, allocations: 35.09 kB / 0.8724 GB, free: 30.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.794e-06/1.715, allocations: 4 kB / 0.8724 GB, free: 30.08 MB / 426.7 MB 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.008749/1.723, allocations: 1.301 MB / 0.8736 GB, free: 28.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/1.723, allocations: 55.41 kB / 0.8737 GB, free: 28.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.835e-05/1.724, allocations: 108.9 kB / 0.8738 GB, free: 28.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/1.724, allocations: 29.7 kB / 0.8738 GB, free: 28.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.492e-05/1.724, allocations: 96.03 kB / 0.8739 GB, free: 28.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.333e-05/1.724, allocations: 71 kB / 0.874 GB, free: 28.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/1.724, allocations: 7.938 kB / 0.874 GB, free: 28.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.88e-05/1.724, allocations: 322.8 kB / 0.8743 GB, free: 27.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/1.724, allocations: 63.97 kB / 0.8744 GB, free: 27.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/1.724, allocations: 105.6 kB / 0.8745 GB, free: 27.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/1.725, allocations: 81.5 kB / 0.8745 GB, free: 27.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.725, allocations: 7.922 kB / 0.8745 GB, free: 27.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000737/1.725, allocations: 255.9 kB / 0.8748 GB, free: 27.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.725, allocations: 8 kB / 0.8748 GB, free: 27.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/1.725, allocations: 0 / 0.8748 GB, free: 27.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002468/1.726, allocations: 56.72 kB / 0.8748 GB, free: 27.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005364/1.726, allocations: 55.89 kB / 0.8749 GB, free: 27.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004498/1.727, allocations: 0.5681 MB / 0.8755 GB, free: 26.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/1.727, allocations: 3.938 kB / 0.8755 GB, free: 26.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/1.727, allocations: 31.98 kB / 0.8755 GB, free: 26.71 MB / 426.7 MB 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.0001429/1.727, allocations: 122.8 kB / 0.8756 GB, free: 26.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.468e-05/1.727, allocations: 23.86 kB / 0.8756 GB, free: 26.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/1.729, allocations: 343.1 kB / 0.876 GB, free: 26.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.729, allocations: 0 / 0.876 GB, free: 26.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.729, allocations: 4 kB / 0.876 GB, free: 26.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/1.729, allocations: 3.984 kB / 0.876 GB, free: 26.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/1.73, allocations: 0.6118 MB / 0.8766 GB, free: 25.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/1.73, allocations: 0 / 0.8766 GB, free: 25.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005899/1.731, allocations: 64.05 kB / 0.8766 GB, free: 25.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001084/1.731, allocations: 20.84 kB / 0.8766 GB, free: 25.44 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.229e-05/1.731, allocations: 15.98 kB / 0.8767 GB, free: 25.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008573/1.732, allocations: 1.264 MB / 0.8779 GB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/1.732, allocations: 11.88 kB / 0.8779 GB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/1.733, allocations: 460.4 kB / 0.8783 GB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/1.733, allocations: 88.95 kB / 0.8784 GB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/1.733, allocations: 4 kB / 0.8784 GB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/1.733, allocations: 8 kB / 0.8784 GB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.604e-05/1.733, allocations: 31.86 kB / 0.8785 GB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.786e-05/1.733, allocations: 32.05 kB / 0.8785 GB, free: 23.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.862e-05/1.733, allocations: 87.27 kB / 0.8786 GB, free: 23.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.733, allocations: 0 / 0.8786 GB, free: 23.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00072/1.734, allocations: 111.9 kB / 0.8787 GB, free: 23.15 MB / 426.7 MB 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.00221/1.736, allocations: 1.65 MB / 0.8803 GB, free: 21.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007466/1.737, allocations: 197.3 kB / 0.8805 GB, free: 21.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.737, allocations: 0 / 0.8805 GB, free: 21.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004713/1.738, allocations: 234.6 kB / 0.8807 GB, free: 21.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005633/1.738, allocations: 41.64 kB / 0.8808 GB, free: 20.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/1.741, allocations: 1.548 MB / 0.8823 GB, free: 19.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/1.741, allocations: 0.7126 MB / 0.883 GB, free: 18.61 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007111/1.742, allocations: 73.39 kB / 0.883 GB, free: 18.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/1.742, allocations: 71.41 kB / 0.8831 GB, free: 18.47 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/1.742, allocations: 0 / 0.8831 GB, free: 18.47 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04146/1.783, allocations: 14.15 MB / 0.8969 GB, free: 4.383 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003002/1.784, allocations: 206.4 kB / 0.8971 GB, free: 4.137 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.027/4.811, allocations: 0 / 0.8971 GB, free: 4.137 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat