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.001409/0.001409, allocations: 103 kB / 16.29 MB, free: 6.43 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.001771/0.001772, allocations: 184.6 kB / 17.22 MB, free: 5.934 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.577/1.577, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.89/1.89, allocations: 292.3 MB / 0.5495 GB, free: 17.35 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.001733/0.001733, allocations: 75.91 kB / 0.6722 GB, free: 6.477 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2951, allocations: 114.6 MB / 0.7841 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.003879/0.299, allocations: 1.776 MB / 0.7858 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003117/0.3021, allocations: 1.632 MB / 0.7874 GB, free: 384 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.3023, allocations: 0 / 0.7874 GB, free: 384 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002501/0.3026, allocations: 39.72 kB / 0.7874 GB, free: 344 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.3028, allocations: 15.8 kB / 0.7875 GB, free: 328 kB / 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.0008079/0.3036, allocations: 227.3 kB / 0.7877 GB, free: 100 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.499/0.8026, allocations: 214.3 kB / 0.7879 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.8028, allocations: 60.94 kB / 0.7879 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.8031, allocations: 79.86 kB / 0.788 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.8032, allocations: 77.47 kB / 0.7881 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.8033, allocations: 16.03 kB / 0.7881 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005206/0.8038, allocations: 210.5 kB / 0.7883 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.8039, allocations: 68.14 kB / 0.7884 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.587e-05/0.804, allocations: 85.84 kB / 0.7885 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004534/0.8045, allocations: 363.1 kB / 0.7888 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.8045, allocations: 0 / 0.7888 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8045, allocations: 0 / 0.7888 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.8045, allocations: 1.625 kB / 0.7888 GB, free: 45.92 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.0008792/0.8054, allocations: 0.5627 MB / 0.7894 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.8055, allocations: 8.594 kB / 0.7894 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.044e-05/0.8055, allocations: 24.69 kB / 0.7894 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.8058, allocations: 236.6 kB / 0.7896 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.8058, allocations: 13.34 kB / 0.7896 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.8058, allocations: 25.05 kB / 0.7896 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.8062, allocations: 188.8 kB / 0.7898 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.8062, allocations: 0 / 0.7898 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.8062, allocations: 6.781 kB / 0.7898 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.8062, allocations: 5.781 kB / 0.7898 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/0.8065, allocations: 116.7 kB / 0.7899 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.8076, allocations: 0.5564 MB / 0.7905 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006652/0.8083, allocations: 251.7 kB / 0.7907 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.8084, allocations: 86.16 kB / 0.7908 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.8085, allocations: 6.562 kB / 0.7908 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003152/0.8088, allocations: 150.9 kB / 0.791 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 1.764e-06/0.8088, allocations: 5.531 kB / 0.791 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22): time 0.0006188/0.8094, allocations: 348.2 kB / 0.7913 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.8095, allocations: 65.38 kB / 0.7914 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.8096, allocations: 192.2 kB / 0.7915 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.8097, allocations: 40.33 kB / 0.7916 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/0.8097, allocations: 122.3 kB / 0.7917 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.274e-05/0.8098, allocations: 69.52 kB / 0.7918 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.34e-05/0.8099, allocations: 72.02 kB / 0.7918 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.339e-05/0.8099, allocations: 333.1 kB / 0.7922 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.8101, allocations: 102.5 kB / 0.7923 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.8103, allocations: 228.8 kB / 0.7925 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.8107, allocations: 327.6 kB / 0.7928 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.8107, allocations: 4 kB / 0.7928 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004954/0.8112, allocations: 364.5 kB / 0.7931 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.8112, allocations: 7 kB / 0.7931 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.8112, allocations: 7.969 kB / 0.7931 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.8113, allocations: 9.312 kB / 0.7932 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.8114, allocations: 55.75 kB / 0.7932 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.8115, allocations: 10.47 kB / 0.7932 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.8116, allocations: 46.98 kB / 0.7933 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.8117, allocations: 15.16 kB / 0.7933 GB, free: 43.79 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.0001609/0.8118, allocations: 169.4 kB / 0.7934 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.8119, allocations: 15.5 kB / 0.7935 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.8119, allocations: 19.34 kB / 0.7935 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.8119, allocations: 3.969 kB / 0.7935 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.8119, allocations: 0 / 0.7935 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.8119, allocations: 6.125 kB / 0.7935 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000776/0.8127, allocations: 0.6326 MB / 0.7941 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.8127, allocations: 0 / 0.7941 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.8129, allocations: 26.69 kB / 0.7941 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.8129, allocations: 3.5 kB / 0.7941 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.8129, allocations: 10.23 kB / 0.7941 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.8129, allocations: 0 / 0.7941 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.8129, allocations: 1.797 kB / 0.7941 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006105/0.8135, allocations: 477.7 kB / 0.7946 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.8136, allocations: 93.86 kB / 0.7947 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.8136, allocations: 21.89 kB / 0.7947 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.8138, allocations: 20.27 kB / 0.7947 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.232e-05/0.8139, allocations: 20.44 kB / 0.7947 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.8139, allocations: 12.44 kB / 0.7948 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.232e-05/0.814, allocations: 141.2 kB / 0.7949 GB, free: 43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.814, allocations: 0 / 0.7949 GB, free: 43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000447/0.8144, allocations: 101 kB / 0.795 GB, free: 42.98 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007149/0.8152, allocations: 310.6 kB / 0.7953 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004533/0.8156, allocations: 249.4 kB / 0.7955 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8156, allocations: 0 / 0.7955 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.8158, allocations: 99.97 kB / 0.7956 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.8161, allocations: 19.17 kB / 0.7956 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007638/0.8169, allocations: 454.5 kB / 0.7961 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.8171, allocations: 0.7428 MB / 0.7968 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001409/0.8173, allocations: 46.97 kB / 0.7968 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.8173, allocations: 21.78 kB / 0.7969 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/0.8173, allocations: 0 / 0.7969 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of Templates: time 0.007495/0.8248, allocations: 3.048 MB / 0.7998 GB, free: 41.77 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe 2>&1)