Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.IO.Python27.Examples.SimpleRoom.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python27.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.IO.Python27.Examples.SimpleRoom") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01068/0.01068, allocations: 225 kB / 15.18 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001152/0.001151, allocations: 180.1 kB / 16.06 MB, free: 5.828 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.875/3.875, allocations: 389.1 MB / 405.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.276/4.276, allocations: 472.3 MB / 0.9017 GB, free: 3.664 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008772/0.0008775, allocations: 12 kB / 1.008 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5905/0.5914, allocations: 98.71 MB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python27.Examples.SimpleRoom): time 0.001998/0.5935, allocations: 1.463 MB / 1.105 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002072/0.5956, allocations: 1.499 MB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.113e-05/0.5957, allocations: 3.5 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.5959, allocations: 20.05 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.596, allocations: 18.28 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005974/0.5966, allocations: 187.9 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.5969, allocations: 184.7 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.597, allocations: 44.78 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.5972, allocations: 75.3 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.5973, allocations: 58.45 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.5974, allocations: 9.062 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000414/0.5978, allocations: 177.2 kB / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.5979, allocations: 52.81 kB / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.23e-05/0.598, allocations: 58.14 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004061/0.5984, allocations: 259.3 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.801e-06/0.5984, allocations: 1.344 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.253e-06/0.5984, allocations: 0 / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.379e-05/0.5985, allocations: 0 / 1.108 GB, free: 210.3 MB / 0.7292 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.0009005/0.5994, allocations: 0.5337 MB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.5994, allocations: 9.062 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.867e-05/0.5995, allocations: 19.78 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.5998, allocations: 237.5 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.5998, allocations: 15.48 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/0.5999, allocations: 18.31 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004441/0.6003, allocations: 188.9 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.6004, allocations: 1.219 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.6004, allocations: 5.406 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.6004, allocations: 11.36 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.6008, allocations: 126.9 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.6023, allocations: 0.575 MB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009043/0.6032, allocations: 274.6 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.6035, allocations: 88.52 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.6035, allocations: 2.969 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003616/0.6039, allocations: 156.4 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 3.639e-06/0.6039, allocations: 0 / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22): time 0.000907/0.6048, allocations: 357.1 kB / 1.111 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.6049, allocations: 65.28 kB / 1.111 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.6051, allocations: 178.1 kB / 1.111 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.6051, allocations: 41.34 kB / 1.111 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/0.6052, allocations: 126.7 kB / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.268e-05/0.6053, allocations: 68.91 kB / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.67e-05/0.6053, allocations: 5.531 kB / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.338e-05/0.6054, allocations: 336.4 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.6057, allocations: 101.2 kB / 1.111 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.606, allocations: 233.7 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.6063, allocations: 138 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.027e-06/0.6063, allocations: 1.031 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008198/0.6072, allocations: 375.8 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.6072, allocations: 6.656 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.6072, allocations: 8.578 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.6073, allocations: 7.312 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.6075, allocations: 56.88 kB / 1.112 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/0.6076, allocations: 13.44 kB / 1.112 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.6078, allocations: 45.45 kB / 1.112 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/0.6079, allocations: 17.72 kB / 1.112 GB, free: 207.7 MB / 0.7292 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.0001995/0.6081, allocations: 164 kB / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/0.6081, allocations: 17 kB / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.007e-05/0.6082, allocations: 25.38 kB / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.626e-06/0.6082, allocations: 5.953 kB / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.91e-06/0.6082, allocations: 1.156 kB / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.6082, allocations: 2.188 kB / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.6094, allocations: 0.6431 MB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.881e-06/0.6095, allocations: 3.953 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.6096, allocations: 19.5 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.638e-06/0.6097, allocations: 11.16 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.6097, allocations: 10.98 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.664e-06/0.6097, allocations: 1.438 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.6097, allocations: 0 / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008981/0.6106, allocations: 484.2 kB / 1.114 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.6107, allocations: 104 kB / 1.114 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.6108, allocations: 7.594 kB / 1.114 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.611, allocations: 33.92 kB / 1.114 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.6111, allocations: 20.84 kB / 1.114 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.405e-05/0.6111, allocations: 9.531 kB / 1.114 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001135/0.6113, allocations: 134.4 kB / 1.114 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.57e-07/0.6113, allocations: 0 / 1.114 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006262/0.6119, allocations: 93 kB / 1.114 GB, free: 206.7 MB / 0.7292 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.0008339/0.6128, allocations: 335 kB / 1.114 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006885/0.6135, allocations: 250.9 kB / 1.115 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.83e-06/0.6135, allocations: 1.531 kB / 1.115 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.6137, allocations: 100.2 kB / 1.115 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.6142, allocations: 21.44 kB / 1.115 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.6153, allocations: 0.5272 MB / 1.115 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.6155, allocations: 0.7473 MB / 1.116 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001892/0.6157, allocations: 47.31 kB / 1.116 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/0.6158, allocations: 20.31 kB / 1.116 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of SimCode: time 1.416e-06/0.6158, allocations: 0 / 1.116 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of Templates: time 0.008495/0.6243, allocations: 2.813 MB / 1.119 GB, free: 205.4 MB / 0.7292 GB