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: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002739/0.002743, allocations: 368.8 kB / 15.96 MB, free: 6.199 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 4.037/4.037, allocations: 388.9 MB / 405.6 MB, free: 9.594 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003553/0.003553, allocations: 226.3 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5072/0.5072, allocations: 80.01 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004915, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09616/0.09668, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.5497/0.6464, allocations: 136.5 MB / 0.8134 GB, free: 3.82 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.6484, allocations: 0.9109 MB / 0.8143 GB, free: 2.922 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.493e-05/0.6486, allocations: 0 / 0.8143 GB, free: 2.922 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.6488, allocations: 23.83 kB / 0.8144 GB, free: 2.898 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008175/0.6496, allocations: 203 kB / 0.8145 GB, free: 2.699 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.6501, allocations: 98.73 kB / 0.8146 GB, free: 2.605 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003103/0.6504, allocations: 179.2 kB / 0.8148 GB, free: 2.43 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.387e-05/0.6505, allocations: 4 kB / 0.8148 GB, free: 2.426 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.6508, allocations: 75.69 kB / 0.8149 GB, free: 2.352 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.6509, allocations: 59.81 kB / 0.8149 GB, free: 2.293 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.651, allocations: 4 kB / 0.8149 GB, free: 2.289 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008751/0.6519, allocations: 267.6 kB / 0.8152 GB, free: 2.027 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.113e-05/0.6519, allocations: 15.98 kB / 0.8152 GB, free: 2.012 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.94e-05/0.652, allocations: 41.64 kB / 0.8153 GB, free: 1.965 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005231/0.6525, allocations: 201.9 kB / 0.8155 GB, free: 1.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.6526, allocations: 0 / 0.8155 GB, free: 1.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6526, allocations: 0 / 0.8155 GB, free: 1.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.6526, allocations: 0 / 0.8155 GB, free: 1.77 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.0006124/0.6532, allocations: 387 kB / 0.8158 GB, free: 1.344 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.6533, allocations: 12.03 kB / 0.8158 GB, free: 1.332 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003493/0.6568, allocations: 192.1 kB / 0.816 GB, free: 1.145 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.6572, allocations: 202.9 kB / 0.8162 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.6572, allocations: 8 kB / 0.8162 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.938e-05/0.6573, allocations: 4 kB / 0.8162 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008114/0.6581, allocations: 230.4 kB / 0.8164 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.6581, allocations: 7.938 kB / 0.8164 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-05/0.6582, allocations: 0 / 0.8164 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.6582, allocations: 0 / 0.8164 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007482/0.659, allocations: 167.9 kB / 0.8166 GB, free: 496 kB / 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.001615/0.6606, allocations: 0.5919 MB / 0.8172 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005338/0.6612, allocations: 131.1 kB / 0.8173 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/0.6614, allocations: 68.83 kB / 0.8174 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.6615, allocations: 3.984 kB / 0.8174 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/0.6615, allocations: 42.56 kB / 0.8174 GB, free: 15.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 4.698e-06/0.6616, allocations: 0 / 0.8174 GB, free: 15.57 MB / 410.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.00957/0.6711, allocations: 1.302 MB / 0.8187 GB, free: 14.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.6712, allocations: 59.41 kB / 0.8187 GB, free: 14.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.6713, allocations: 109.8 kB / 0.8189 GB, free: 13.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.235e-05/0.6714, allocations: 33.7 kB / 0.8189 GB, free: 13.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.212e-05/0.6715, allocations: 99.88 kB / 0.819 GB, free: 13.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.438e-05/0.6716, allocations: 63.02 kB / 0.819 GB, free: 13.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.6716, allocations: 8 kB / 0.819 GB, free: 13.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.6718, allocations: 318.8 kB / 0.8194 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.6721, allocations: 71.95 kB / 0.8194 GB, free: 13.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.6725, allocations: 107.5 kB / 0.8195 GB, free: 13.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.6728, allocations: 80.86 kB / 0.8196 GB, free: 13.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.6728, allocations: 0 / 0.8196 GB, free: 13.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008563/0.6737, allocations: 259.1 kB / 0.8198 GB, free: 12.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.6737, allocations: 4 kB / 0.8199 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.6737, allocations: 7.953 kB / 0.8199 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002778/0.674, allocations: 48.83 kB / 0.8199 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006136/0.6747, allocations: 52.83 kB / 0.82 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006298/0.6753, allocations: 0.568 MB / 0.8205 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003218/0.6757, allocations: 4.031 kB / 0.8205 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.029e-05/0.6757, allocations: 28 kB / 0.8205 GB, free: 12.2 MB / 410.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.0001955/0.6759, allocations: 134.5 kB / 0.8207 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-05/0.676, allocations: 11.84 kB / 0.8207 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.6775, allocations: 345.3 kB / 0.821 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.6775, allocations: 0 / 0.821 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.6775, allocations: 4 kB / 0.821 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.966e-05/0.6776, allocations: 85 kB / 0.8211 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.81e-05/0.6777, allocations: 4 kB / 0.8211 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003689/0.6781, allocations: 8 kB / 0.8211 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.65e-05/0.6782, allocations: 31.86 kB / 0.8211 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001425/0.6796, allocations: 333.5 kB / 0.8215 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001138/0.6808, allocations: 451 kB / 0.8219 GB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00029/0.6811, allocations: 83.94 kB / 0.822 GB, free: 10.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.778e-05/0.6812, allocations: 87.27 kB / 0.822 GB, free: 10.59 MB / 410.7 MB Notification: Performance of Backend: time 8.21e-07/0.6812, allocations: 0 / 0.822 GB, free: 10.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.6829, allocations: 314.7 kB / 0.8223 GB, free: 10.28 MB / 410.7 MB Notification: Performance of SimCode: time 0.001508/0.6844, allocations: 0.9718 MB / 0.8233 GB, free: 9.262 MB / 410.7 MB Notification: Performance of Templates: time 0.01741/0.7019, allocations: 6.498 MB / 0.8296 GB, free: 2.777 MB / 410.7 MB