Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.193/2.193, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001659/0.001659, allocations: 176 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.432/2.432, allocations: 205.4 MB / 0.5766 GB, free: 21.15 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001201/0.0012, allocations: 95.8 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004797, allocations: 8.938 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2733, allocations: 106.3 MB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.003542/0.2769, allocations: 1.454 MB / 0.9003 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004093/0.2811, allocations: 1.546 MB / 0.9018 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.2813, allocations: 3.938 kB / 0.9018 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.2816, allocations: 27.83 kB / 0.9018 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.2818, allocations: 15.92 kB / 0.9019 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.2831, allocations: 203.5 kB / 0.902 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004476/0.2836, allocations: 139.8 kB / 0.9022 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.2838, allocations: 45.89 kB / 0.9022 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.2841, allocations: 75.69 kB / 0.9023 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.2843, allocations: 59.75 kB / 0.9024 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.869e-05/0.2844, allocations: 4 kB / 0.9024 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006795/0.2851, allocations: 143.8 kB / 0.9025 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.2852, allocations: 63.8 kB / 0.9026 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.243e-05/0.2854, allocations: 49.64 kB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006334/0.286, allocations: 267.5 kB / 0.9029 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.286, allocations: 0 / 0.9029 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 5.06e-06/0.2861, allocations: 0 / 0.9029 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.2861, allocations: 3.938 kB / 0.9029 GB, free: 61.82 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001692/0.2878, allocations: 0.5298 MB / 0.9034 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.2879, allocations: 8.031 kB / 0.9034 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.99e-05/0.288, allocations: 19.81 kB / 0.9034 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.2884, allocations: 239.4 kB / 0.9036 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.417e-05/0.2885, allocations: 12 kB / 0.9036 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.68e-05/0.2886, allocations: 24 kB / 0.9037 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007566/0.2894, allocations: 189.3 kB / 0.9039 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.2894, allocations: 3.953 kB / 0.9039 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.21e-05/0.2895, allocations: 8 kB / 0.9039 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.2895, allocations: 4 kB / 0.9039 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006748/0.2902, allocations: 127.9 kB / 0.904 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/0.2931, allocations: 0.5665 MB / 0.9045 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001931/0.2951, allocations: 266.7 kB / 0.9048 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.113e-05/0.2952, allocations: 4 kB / 0.9048 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000643/0.2959, allocations: 152.8 kB / 0.9049 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 5.19e-06/0.2959, allocations: 0 / 0.9049 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22): time 0.001627/0.2975, allocations: 450.9 kB / 0.9054 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.2977, allocations: 67.34 kB / 0.9054 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00028/0.298, allocations: 172 kB / 0.9056 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.984e-05/0.2981, allocations: 45.7 kB / 0.9056 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.2982, allocations: 124.5 kB / 0.9058 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.2983, allocations: 71.09 kB / 0.9058 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.2984, allocations: 8 kB / 0.9058 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.2985, allocations: 334.8 kB / 0.9062 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004609/0.299, allocations: 99.94 kB / 0.9063 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005803/0.2996, allocations: 231.7 kB / 0.9065 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005684/0.3002, allocations: 139.9 kB / 0.9066 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/0.3002, allocations: 4 kB / 0.9066 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001421/0.3016, allocations: 368.9 kB / 0.907 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/0.3017, allocations: 11.95 kB / 0.907 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.3017, allocations: 4 kB / 0.907 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.139e-05/0.3018, allocations: 8 kB / 0.907 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005333/0.3023, allocations: 68.31 kB / 0.9071 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.085e-05/0.3024, allocations: 4 kB / 0.9071 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000469/0.3029, allocations: 43.72 kB / 0.9071 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.713e-05/0.3029, allocations: 16 kB / 0.9071 GB, free: 57.18 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.pyt.firstTrigger,pyt.firstTrigger,$PRE.pyt.yR[2],pyt.yR[2],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[4],pyt.uRIntPre[4],$PRE.pyt.uRWri[1],pyt.uRWri[1],$PRE.pyt.uRWri[4],pyt.uRWri[4],$whenCondition1,pyt.sampleTrigger,$PRE.pyt.yR[1],pyt.yR[1],$PRE.pyt.uRWri[3],pyt.uRWri[3],$PRE.onOffCon.y,onOffCon.y,$PRE.pyt.uRWri[2],pyt.uRWri[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003682/0.3033, allocations: 175.4 kB / 0.9073 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.657e-05/0.3034, allocations: 15.81 kB / 0.9073 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.471e-05/0.3035, allocations: 21.83 kB / 0.9073 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.3035, allocations: 7.938 kB / 0.9073 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.3036, allocations: 0 / 0.9073 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.3036, allocations: 3.984 kB / 0.9073 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/0.3057, allocations: 0.6426 MB / 0.908 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.3058, allocations: 0 / 0.908 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003123/0.3061, allocations: 19.98 kB / 0.908 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.3061, allocations: 0 / 0.908 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.166e-05/0.3062, allocations: 11.98 kB / 0.908 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.3062, allocations: 4 kB / 0.908 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3062, allocations: 4 kB / 0.908 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.3078, allocations: 478.6 kB / 0.9085 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/0.3079, allocations: 108.8 kB / 0.9086 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.385e-05/0.308, allocations: 15.98 kB / 0.9086 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/0.3085, allocations: 27.98 kB / 0.9086 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.3086, allocations: 15.97 kB / 0.9086 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.162e-05/0.3087, allocations: 15.98 kB / 0.9086 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001747/0.3089, allocations: 123.5 kB / 0.9087 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.61e-07/0.3089, allocations: 4 kB / 0.9087 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009823/0.3099, allocations: 104 kB / 0.9088 GB, free: 55.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (pyt.uRInt[1],pyt.uRInt[2],pyt.uRInt[3],pyt.uRInt[4]) * Number of discrete variables: 14 (pyt.sampleTrigger,$whenCondition1,pyt.firstTrigger,pyt.yR[1],pyt.yR[2],pyt.uRIntPre[1],pyt.uRIntPre[2],pyt.uRIntPre[3],pyt.uRIntPre[4],pyt.uRWri[1],pyt.uRWri[2],pyt.uRWri[3],pyt.uRWri[4],onOffCon.y) * Number of discrete states: 5 (pyt.uR[1],pyt.uR[2],pyt.uR[3],pyt.uR[4],onOffCon.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001259/0.3112, allocations: 319.7 kB / 0.9092 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001612/0.3128, allocations: 252.4 kB / 0.9094 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.3129, allocations: 0 / 0.9094 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006994/0.3136, allocations: 104 kB / 0.9095 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007428/0.3144, allocations: 19.92 kB / 0.9095 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.3161, allocations: 0.5084 MB / 0.91 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.3163, allocations: 0.7521 MB / 0.9107 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000229/0.3166, allocations: 49.84 kB / 0.9108 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.748e-05/0.3166, allocations: 19.44 kB / 0.9108 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of SimCode: time 1.122e-06/0.3167, allocations: 4 kB / 0.9108 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.008499/0.3252, allocations: 2.813 MB / 0.9136 GB, free: 50.48 MB / 0.6042 GB