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.009133/0.009133, allocations: 114.1 kB / 15.06 MB, free: 5.562 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.001441/0.001441, allocations: 182.8 kB / 15.95 MB, free: 5.523 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 2.092/2.092, allocations: 194.6 MB / 211.3 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.216/2.216, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004823/0.0004826, allocations: 16 kB / 0.5869 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5735/0.574, allocations: 98.71 MB / 0.6833 GB, free: 16.9 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python27.Examples.SimpleRoom): time 0.001936/0.576, allocations: 1.442 MB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002147/0.5781, allocations: 1.511 MB / 0.6862 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.772e-05/0.5783, allocations: 1.406 kB / 0.6862 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.5784, allocations: 28.7 kB / 0.6862 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.5786, allocations: 22.42 kB / 0.6863 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006668/0.5793, allocations: 185.9 kB / 0.6864 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.5795, allocations: 142.3 kB / 0.6866 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.5797, allocations: 52.48 kB / 0.6866 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.5799, allocations: 71.22 kB / 0.6867 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.58, allocations: 56.28 kB / 0.6868 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.58, allocations: 13.06 kB / 0.6868 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003779/0.5804, allocations: 150.8 kB / 0.6869 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.5805, allocations: 55.91 kB / 0.687 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.715e-05/0.5806, allocations: 55.12 kB / 0.687 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004187/0.581, allocations: 261.2 kB / 0.6873 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.552e-06/0.5811, allocations: 1.844 kB / 0.6873 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.155e-06/0.5811, allocations: 0 / 0.6873 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.421e-06/0.5811, allocations: 0 / 0.6873 GB, free: 14.37 MB / 0.5261 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.0008832/0.582, allocations: 0.5365 MB / 0.6878 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.582, allocations: 8.562 kB / 0.6878 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.962e-05/0.5821, allocations: 20.34 kB / 0.6878 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.5824, allocations: 234.2 kB / 0.688 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.5824, allocations: 13.41 kB / 0.6881 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.432e-05/0.5825, allocations: 24.16 kB / 0.6881 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.5829, allocations: 179.3 kB / 0.6883 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.583, allocations: 4 kB / 0.6883 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.583, allocations: 7.703 kB / 0.6883 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.062e-06/0.583, allocations: 7.578 kB / 0.6883 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003794/0.5834, allocations: 128.2 kB / 0.6884 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.5849, allocations: 0.5726 MB / 0.689 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009202/0.5859, allocations: 267 kB / 0.6892 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.5859, allocations: 7.219 kB / 0.6892 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00038/0.5863, allocations: 158.4 kB / 0.6894 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=22): time 3.363e-06/0.5863, allocations: 0 / 0.6894 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22): time 0.0009662/0.5873, allocations: 436.9 kB / 0.6898 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.5874, allocations: 65.8 kB / 0.6898 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.5876, allocations: 177.5 kB / 0.69 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/0.5876, allocations: 48.06 kB / 0.6901 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.059e-05/0.5877, allocations: 120.9 kB / 0.6902 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.236e-05/0.5878, allocations: 69 kB / 0.6902 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/0.5878, allocations: 9.094 kB / 0.6902 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.5879, allocations: 337.6 kB / 0.6906 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.5882, allocations: 101.1 kB / 0.6907 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.5885, allocations: 229 kB / 0.6909 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.5889, allocations: 133.8 kB / 0.691 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.466e-06/0.5889, allocations: 5.125 kB / 0.691 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008319/0.5897, allocations: 374.2 kB / 0.6914 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.5898, allocations: 8.109 kB / 0.6914 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.5898, allocations: 4.156 kB / 0.6914 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.5898, allocations: 14.86 kB / 0.6914 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.5901, allocations: 53.48 kB / 0.6915 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/0.5901, allocations: 11.45 kB / 0.6915 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.5904, allocations: 57.69 kB / 0.6915 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.5904, allocations: 11.75 kB / 0.6915 GB, free: 11.6 MB / 0.5261 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.0001932/0.5906, allocations: 166.6 kB / 0.6917 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.5907, allocations: 16.67 kB / 0.6917 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.773e-05/0.5908, allocations: 20.09 kB / 0.6917 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.934e-06/0.5908, allocations: 6.625 kB / 0.6917 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.696e-06/0.5908, allocations: 4.562 kB / 0.6917 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.839e-06/0.5908, allocations: 2.031 kB / 0.6917 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.5921, allocations: 0.6334 MB / 0.6924 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.768e-06/0.5921, allocations: 1.688 kB / 0.6924 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.5923, allocations: 27.69 kB / 0.6924 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.5923, allocations: 5.453 kB / 0.6924 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.5923, allocations: 6.094 kB / 0.6924 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.882e-06/0.5924, allocations: 0.9062 kB / 0.6924 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.578e-06/0.5924, allocations: 1.531 kB / 0.6924 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009378/0.5933, allocations: 492.4 kB / 0.6929 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.5934, allocations: 99.45 kB / 0.693 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.375e-05/0.5935, allocations: 17.64 kB / 0.693 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.5937, allocations: 25.02 kB / 0.693 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.17e-05/0.5938, allocations: 21.41 kB / 0.693 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.5e-05/0.5938, allocations: 8.734 kB / 0.693 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001171/0.594, allocations: 131.8 kB / 0.6932 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.63e-07/0.594, allocations: 1 kB / 0.6932 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006163/0.5946, allocations: 96.17 kB / 0.6932 GB, free: 10.55 MB / 0.5261 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.0008271/0.5955, allocations: 331.5 kB / 0.6936 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006671/0.5961, allocations: 248.8 kB / 0.6938 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.682e-06/0.5962, allocations: 3.938 kB / 0.6938 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002575/0.5964, allocations: 105.8 kB / 0.6939 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.5967, allocations: 17.92 kB / 0.6939 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009972/0.5977, allocations: 0.5103 MB / 0.6944 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.598, allocations: 0.7453 MB / 0.6951 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000192/0.5982, allocations: 50.31 kB / 0.6952 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.036e-05/0.5982, allocations: 19.47 kB / 0.6952 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of SimCode: time 1.406e-06/0.5983, allocations: 0 / 0.6952 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of Templates: time 0.008122/0.6064, allocations: 2.815 MB / 0.698 GB, free: 8.5 MB / 0.5261 GB