Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 103.6 kB / 16.36 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001859/0.001858, allocations: 192.3 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.795/1.795, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 71.03 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1962, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.003737/0.2001, allocations: 1.779 MB / 0.7865 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3156/0.5156, allocations: 1.626 MB / 0.7881 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.968e-05/0.5158, allocations: 6.906 kB / 0.7881 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.516, allocations: 30.06 kB / 0.7882 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.5161, allocations: 20.69 kB / 0.7882 GB, free: 46.77 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Obsolete/Utilities/IO/Python27/Functions/exchange.mo:2:1-109:13:writable] Warning: Pure function 'Buildings.Obsolete.Utilities.IO.Python27.Functions.exchange' contains a call to impure function 'Modelica.Utilities.Strings.replace'. Notification: Performance of NFTyping.typeClassSections: time 0.0006395/0.5167, allocations: 233.1 kB / 0.7884 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.517, allocations: 213.3 kB / 0.7886 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.5171, allocations: 60.44 kB / 0.7887 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.5173, allocations: 86.05 kB / 0.7887 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.5174, allocations: 76.41 kB / 0.7888 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.5175, allocations: 12.83 kB / 0.7888 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000333/0.5178, allocations: 211.6 kB / 0.789 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.649e-05/0.5179, allocations: 76.98 kB / 0.7891 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.104e-05/0.518, allocations: 80.38 kB / 0.7892 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.5183, allocations: 363.2 kB / 0.7895 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5183, allocations: 0 / 0.7895 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5183, allocations: 1.781 kB / 0.7895 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.5184, allocations: 0 / 0.7895 GB, free: 46.67 MB / 0.6544 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.0008329/0.5192, allocations: 0.5496 MB / 0.7901 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.5192, allocations: 11.06 kB / 0.7901 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/0.5193, allocations: 30.95 kB / 0.7901 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.5195, allocations: 239.8 kB / 0.7903 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.5195, allocations: 18.59 kB / 0.7903 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.5196, allocations: 23.19 kB / 0.7904 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.5199, allocations: 185.6 kB / 0.7905 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.5199, allocations: 0.9375 kB / 0.7905 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.5199, allocations: 7.156 kB / 0.7906 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.5199, allocations: 2.625 kB / 0.7906 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002298/0.5202, allocations: 123.9 kB / 0.7907 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.5212, allocations: 0.5601 MB / 0.7912 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007278/0.522, allocations: 249.2 kB / 0.7915 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.5221, allocations: 86.58 kB / 0.7915 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.5221, allocations: 7.25 kB / 0.7915 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000268/0.5224, allocations: 148.8 kB / 0.7917 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 2.264e-06/0.5224, allocations: 1.172 kB / 0.7917 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22): time 0.0005925/0.523, allocations: 347.8 kB / 0.792 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.5231, allocations: 69.64 kB / 0.7921 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.5232, allocations: 182.3 kB / 0.7923 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.5232, allocations: 39.98 kB / 0.7923 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.5233, allocations: 125.3 kB / 0.7924 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.5233, allocations: 71.03 kB / 0.7925 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-05/0.5234, allocations: 63.17 kB / 0.7925 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.857e-05/0.5235, allocations: 339.4 kB / 0.7929 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.5236, allocations: 99.83 kB / 0.793 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.5238, allocations: 231.2 kB / 0.7932 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.5242, allocations: 330.7 kB / 0.7935 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5242, allocations: 0 / 0.7935 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004717/0.5246, allocations: 367.9 kB / 0.7939 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.5247, allocations: 7 kB / 0.7939 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.5247, allocations: 6.781 kB / 0.7939 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.5247, allocations: 11.03 kB / 0.7939 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.5249, allocations: 56.47 kB / 0.7939 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.5249, allocations: 6.297 kB / 0.7939 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.5251, allocations: 51.92 kB / 0.794 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.5251, allocations: 13.89 kB / 0.794 GB, free: 44.53 MB / 0.6544 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 (pyt.firstTrigger,$PRE.pyt.firstTrigger,pyt.yR[2],$PRE.pyt.yR[2],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[4],$PRE.pyt.uRIntPre[4],pyt.uRWri[1],$PRE.pyt.uRWri[1],pyt.uRWri[4],$PRE.pyt.uRWri[4],pyt.sampleTrigger,$whenCondition1,onOffCon.y,$PRE.onOffCon.y,pyt.uRWri[3],$PRE.pyt.uRWri[3],pyt.yR[1],$PRE.pyt.yR[1],pyt.uRWri[2],$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.5252, allocations: 169.3 kB / 0.7942 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.5253, allocations: 21.75 kB / 0.7942 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.5253, allocations: 22.11 kB / 0.7942 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5253, allocations: 0 / 0.7942 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5253, allocations: 0 / 0.7942 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.674e-05/0.5254, allocations: 99.42 kB / 0.7943 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.5254, allocations: 10 kB / 0.7943 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.5255, allocations: 26.91 kB / 0.7943 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.5256, allocations: 17.59 kB / 0.7943 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005079/0.5261, allocations: 376.1 kB / 0.7947 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005916/0.5267, allocations: 0.5647 MB / 0.7953 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001486/0.5269, allocations: 99.92 kB / 0.7954 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.668e-05/0.527, allocations: 140 kB / 0.7955 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of Backend: time 5.11e-07/0.527, allocations: 0 / 0.7955 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.5281, allocations: 450.6 kB / 0.7959 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0005925/0.5287, allocations: 0.8295 MB / 0.7967 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of Templates: time 0.006355/0.5351, allocations: 3.262 MB / 0.7999 GB, free: 42.91 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.makefile (rm -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe >> ../files/Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.sim & ./Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe 2>&1)