Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01017/0.01017, allocations: 176.3 kB / 15.13 MB, free: 5.949 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.024/2.024, allocations: 194.5 MB / 210.3 MB, free: 7.602 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002708/0.002708, allocations: 116 kB / 255.6 MB, free: 10.21 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2814/0.2814, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005247/0.0005249, allocations: 12.11 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1021, allocations: 54.88 MB / 461.1 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.5852/0.6874, allocations: 136.5 MB / 0.5837 GB, free: 13.49 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.6891, allocations: 0.9131 MB / 0.5846 GB, free: 13.34 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.738e-05/0.6892, allocations: 0 / 0.5846 GB, free: 13.34 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.6895, allocations: 26.83 kB / 0.5846 GB, free: 13.32 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008248/0.6903, allocations: 200.4 kB / 0.5848 GB, free: 13.22 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.6908, allocations: 95.8 kB / 0.5849 GB, free: 13.2 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003073/0.6911, allocations: 177.2 kB / 0.5851 GB, free: 13.13 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.191e-05/0.6912, allocations: 10.45 kB / 0.5851 GB, free: 13.13 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.6914, allocations: 86.23 kB / 0.5851 GB, free: 13.09 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.6916, allocations: 52.34 kB / 0.5852 GB, free: 13.08 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.6916, allocations: 6.938 kB / 0.5852 GB, free: 13.07 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008526/0.6925, allocations: 262.6 kB / 0.5855 GB, free: 13.01 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.031e-05/0.6926, allocations: 21.97 kB / 0.5855 GB, free: 13 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.955e-05/0.6926, allocations: 37.05 kB / 0.5855 GB, free: 12.97 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004303/0.6931, allocations: 197.3 kB / 0.5857 GB, free: 12.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.6931, allocations: 3.625 kB / 0.5857 GB, free: 12.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.6931, allocations: 0 / 0.5857 GB, free: 12.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.6931, allocations: 0 / 0.5857 GB, free: 12.9 MB / 394.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.0005896/0.6937, allocations: 385.5 kB / 0.5861 GB, free: 12.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.6938, allocations: 8.438 kB / 0.5861 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.696e-05/0.6939, allocations: 43.67 kB / 0.5861 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003478/0.6973, allocations: 185.8 kB / 0.5863 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.6977, allocations: 200.5 kB / 0.5865 GB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.6978, allocations: 7.031 kB / 0.5865 GB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-05/0.6978, allocations: 12.95 kB / 0.5865 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000755/0.6986, allocations: 224.9 kB / 0.5867 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.6986, allocations: 0 / 0.5867 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.023e-05/0.6987, allocations: 8.266 kB / 0.5867 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.6987, allocations: 7.172 kB / 0.5867 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007062/0.6994, allocations: 169 kB / 0.5869 GB, free: 12.03 MB / 394.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.001611/0.7011, allocations: 0.5781 MB / 0.5875 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005045/0.7016, allocations: 140.4 kB / 0.5876 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.7018, allocations: 71.86 kB / 0.5877 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.431e-05/0.7019, allocations: 9.766 kB / 0.5877 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.7019, allocations: 36.34 kB / 0.5877 GB, free: 11.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.805e-06/0.702, allocations: 0 / 0.5877 GB, free: 11.41 MB / 394.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.008981/0.711, allocations: 1.303 MB / 0.589 GB, free: 10.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.711, allocations: 55.73 kB / 0.589 GB, free: 10.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.7112, allocations: 115.6 kB / 0.5891 GB, free: 10.58 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/0.7112, allocations: 32.2 kB / 0.5892 GB, free: 10.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.581e-05/0.7113, allocations: 98.34 kB / 0.5893 GB, free: 10.45 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.443e-05/0.7114, allocations: 68.22 kB / 0.5893 GB, free: 10.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.7115, allocations: 4.562 kB / 0.5893 GB, free: 10.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.7116, allocations: 325.3 kB / 0.5896 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.7119, allocations: 67.75 kB / 0.5897 GB, free: 10.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.7122, allocations: 97.08 kB / 0.5898 GB, free: 10.03 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.7125, allocations: 84.95 kB / 0.5899 GB, free: 10.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7125, allocations: 0 / 0.5899 GB, free: 10.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007817/0.7133, allocations: 257.8 kB / 0.5901 GB, free: 9.941 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.7133, allocations: 8.516 kB / 0.5901 GB, free: 9.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.7133, allocations: 3.031 kB / 0.5901 GB, free: 9.938 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002563/0.7136, allocations: 51.2 kB / 0.5902 GB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005622/0.7142, allocations: 52.47 kB / 0.5902 GB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005721/0.7148, allocations: 0.5645 MB / 0.5908 GB, free: 9.379 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.7151, allocations: 7.953 kB / 0.5908 GB, free: 9.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.645e-05/0.7152, allocations: 30.77 kB / 0.5908 GB, free: 9.375 MB / 394.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.0001901/0.7154, allocations: 129.3 kB / 0.591 GB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/0.7154, allocations: 9.5 kB / 0.591 GB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.7167, allocations: 355.8 kB / 0.5913 GB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.7168, allocations: 2.688 kB / 0.5913 GB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.7168, allocations: 0 / 0.5913 GB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.7168, allocations: 0 / 0.5913 GB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.7183, allocations: 0.6306 MB / 0.5919 GB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.7183, allocations: 2.219 kB / 0.5919 GB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006052/0.7189, allocations: 59.95 kB / 0.592 GB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000123/0.719, allocations: 25.59 kB / 0.592 GB, free: 8.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.412e-05/0.7191, allocations: 14.14 kB / 0.592 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.7203, allocations: 1.258 MB / 0.5932 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.7204, allocations: 8.547 kB / 0.5933 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.7215, allocations: 434.1 kB / 0.5937 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.7216, allocations: 87.94 kB / 0.5938 GB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/0.7216, allocations: 6.219 kB / 0.5938 GB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000368/0.722, allocations: 12.56 kB / 0.5938 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.7221, allocations: 29.75 kB / 0.5938 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.587e-05/0.7222, allocations: 30.11 kB / 0.5938 GB, free: 7.027 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.14e-05/0.7222, allocations: 90.94 kB / 0.5939 GB, free: 6.949 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7223, allocations: 0 / 0.5939 GB, free: 6.949 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005683/0.7228, allocations: 81.64 kB / 0.594 GB, free: 6.941 MB / 394.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.001831/0.7247, allocations: 1.015 MB / 0.595 GB, free: 6.168 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007775/0.7255, allocations: 197.4 kB / 0.5952 GB, free: 6.137 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.7255, allocations: 1.75 kB / 0.5952 GB, free: 6.137 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005123/0.726, allocations: 224 kB / 0.5954 GB, free: 6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000726/0.7268, allocations: 44.95 kB / 0.5954 GB, free: 5.988 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.7295, allocations: 1.096 MB / 0.5965 GB, free: 5.254 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.7299, allocations: 0.7094 MB / 0.5972 GB, free: 4.543 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007821/0.7307, allocations: 73.59 kB / 0.5973 GB, free: 4.508 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003874/0.7311, allocations: 74.17 kB / 0.5973 GB, free: 4.48 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.7311, allocations: 1.969 kB / 0.5973 GB, free: 4.48 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03679/0.7679, allocations: 6.885 MB / 0.6041 GB, free: 0.957 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003326/0.7683, allocations: 213.3 kB / 0.6043 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.676/3.444, allocations: 7.938 kB / 0.6043 GB, free: 0.707 MB / 394.7 MB