Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.607/4.607, allocations: 0.5623 GB / 0.5775 GB, free: 66.96 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002656/0.002656, allocations: 361 kB / 0.6446 GB, free: 21.5 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.167/4.167, allocations: 410.7 MB / 1.113 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001888/0.001888, allocations: 186.4 kB / 1.226 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004734, allocations: 11.56 kB / 1.349 GB, free: 320.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1947, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.002121/0.1969, allocations: 1.457 MB / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002486/0.1994, allocations: 1.531 MB / 1.464 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.1995, allocations: 0 / 1.464 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.1997, allocations: 23.8 kB / 1.464 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.1999, allocations: 15.86 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007004/0.2006, allocations: 188.5 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.2009, allocations: 183.5 kB / 1.465 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.201, allocations: 50.3 kB / 1.465 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.2012, allocations: 72.23 kB / 1.465 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.2013, allocations: 56.27 kB / 1.465 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.2014, allocations: 4.625 kB / 1.465 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004323/0.2018, allocations: 172.7 kB / 1.465 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.57e-05/0.2019, allocations: 55.88 kB / 1.465 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.589e-05/0.202, allocations: 54.48 kB / 1.465 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003789/0.2024, allocations: 267.4 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2024, allocations: 0 / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2024, allocations: 0.875 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2024, allocations: 0 / 1.465 GB, free: 216.6 MB / 0.8073 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.001164/0.2036, allocations: 0.5311 MB / 1.466 GB, free: 216 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.2037, allocations: 8.75 kB / 1.466 GB, free: 216 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.827e-05/0.2037, allocations: 24.5 kB / 1.466 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.204, allocations: 234 kB / 1.466 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.2041, allocations: 13.97 kB / 1.466 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.577e-05/0.2041, allocations: 27.98 kB / 1.466 GB, free: 215.6 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004822/0.2046, allocations: 182.2 kB / 1.466 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.2047, allocations: 3.938 kB / 1.466 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.2047, allocations: 15.7 kB / 1.466 GB, free: 215.4 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.2047, allocations: 7.984 kB / 1.466 GB, free: 215.4 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004093/0.2051, allocations: 115.9 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.207, allocations: 0.5722 MB / 1.467 GB, free: 214.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.2083, allocations: 271.9 kB / 1.467 GB, free: 214.4 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.2086, allocations: 91.66 kB / 1.467 GB, free: 214.4 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.2087, allocations: 11.92 kB / 1.467 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004057/0.2091, allocations: 158.6 kB / 1.468 GB, free: 214.2 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=22): time 3.276e-06/0.2091, allocations: 0 / 1.468 GB, free: 214.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22): time 0.0009796/0.2101, allocations: 370 kB / 1.468 GB, free: 213.8 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.2101, allocations: 59.41 kB / 1.468 GB, free: 213.7 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.2103, allocations: 181.5 kB / 1.468 GB, free: 213.6 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.2104, allocations: 41.7 kB / 1.468 GB, free: 213.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/0.2105, allocations: 126.9 kB / 1.468 GB, free: 213.4 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/0.2106, allocations: 67.16 kB / 1.468 GB, free: 213.3 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.88e-05/0.2106, allocations: 8 kB / 1.468 GB, free: 213.3 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.2107, allocations: 334.8 kB / 1.469 GB, free: 213 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.211, allocations: 104.8 kB / 1.469 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.2113, allocations: 225.8 kB / 1.469 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.2117, allocations: 134 kB / 1.469 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.2117, allocations: 0 / 1.469 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008646/0.2126, allocations: 373.2 kB / 1.469 GB, free: 212.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.2126, allocations: 4.562 kB / 1.469 GB, free: 212.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.2127, allocations: 7.953 kB / 1.469 GB, free: 212.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.2127, allocations: 8.656 kB / 1.469 GB, free: 212.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.213, allocations: 56.47 kB / 1.47 GB, free: 212 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.2131, allocations: 12.88 kB / 1.47 GB, free: 212 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.2134, allocations: 49.34 kB / 1.47 GB, free: 212 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.2134, allocations: 16 kB / 1.47 GB, free: 212 MB / 0.8073 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.0002118/0.2137, allocations: 171.3 kB / 1.47 GB, free: 211.8 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.2137, allocations: 19.72 kB / 1.47 GB, free: 211.8 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.535e-05/0.2138, allocations: 18.44 kB / 1.47 GB, free: 211.8 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.2138, allocations: 11.94 kB / 1.47 GB, free: 211.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2138, allocations: 1.062 kB / 1.47 GB, free: 211.7 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.2139, allocations: 92.86 kB / 1.47 GB, free: 211.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.664e-05/0.2139, allocations: 11.98 kB / 1.47 GB, free: 211.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.2142, allocations: 26.7 kB / 1.47 GB, free: 211.6 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/0.2143, allocations: 19.95 kB / 1.47 GB, free: 211.6 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009277/0.2152, allocations: 384.2 kB / 1.47 GB, free: 211.2 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00105/0.2163, allocations: 0.579 MB / 1.471 GB, free: 210.6 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002742/0.2166, allocations: 100.8 kB / 1.471 GB, free: 210.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001166/0.2167, allocations: 136.5 kB / 1.471 GB, free: 210.4 MB / 0.8073 GB Notification: Performance of Backend: time 1.012e-06/0.2167, allocations: 4.969 kB / 1.471 GB, free: 210.4 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00153/0.2183, allocations: 457.8 kB / 1.472 GB, free: 210 MB / 0.8073 GB Notification: Performance of SimCode: time 0.0008941/0.2192, allocations: 0.8989 MB / 1.472 GB, free: 209.1 MB / 0.8073 GB Notification: Performance of Templates: time 0.008656/0.2279, allocations: 3.01 MB / 1.475 GB, free: 206.2 MB / 0.8073 GB