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.001669/0.001669, allocations: 112 kB / 16.36 MB, free: 6.008 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.001931/0.00193, allocations: 192.9 kB / 17.3 MB, free: 5.609 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.281/1.281, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.731/1.731, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001436/0.001437, allocations: 67.91 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1971, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.002968/0.2001, allocations: 1.769 MB / 0.7865 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3208/0.5209, allocations: 1.627 MB / 0.7881 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.603e-05/0.5211, allocations: 6.469 kB / 0.7881 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.5213, allocations: 27.52 kB / 0.7881 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.5214, allocations: 26.72 kB / 0.7882 GB, free: 46.12 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.0006686/0.5221, allocations: 234 kB / 0.7884 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.5223, allocations: 214.6 kB / 0.7886 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.5225, allocations: 59.55 kB / 0.7887 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.5226, allocations: 83.56 kB / 0.7887 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.5228, allocations: 75.44 kB / 0.7888 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.5228, allocations: 14.22 kB / 0.7888 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000353/0.5232, allocations: 214 kB / 0.789 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.195e-05/0.5233, allocations: 62.3 kB / 0.7891 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.177e-05/0.5233, allocations: 90.52 kB / 0.7892 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003786/0.5237, allocations: 367.5 kB / 0.7895 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5237, allocations: 0 / 0.7895 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5238, allocations: 0 / 0.7895 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.5238, allocations: 0.5938 kB / 0.7895 GB, free: 46.01 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.0008365/0.5246, allocations: 0.5544 MB / 0.7901 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.5247, allocations: 9.375 kB / 0.7901 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.005e-05/0.5247, allocations: 26.22 kB / 0.7901 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.5249, allocations: 243.5 kB / 0.7903 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.525, allocations: 12.56 kB / 0.7903 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.525, allocations: 21.06 kB / 0.7904 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.5253, allocations: 192.1 kB / 0.7905 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.5254, allocations: 0 / 0.7905 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.5254, allocations: 5.188 kB / 0.7905 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.5254, allocations: 4.219 kB / 0.7905 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.5256, allocations: 119.1 kB / 0.7907 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.5267, allocations: 0.5642 MB / 0.7912 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006981/0.5274, allocations: 249 kB / 0.7915 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.5276, allocations: 83.77 kB / 0.7915 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.5276, allocations: 8.406 kB / 0.7915 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002858/0.5279, allocations: 147.5 kB / 0.7917 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.5279, allocations: 2.469 kB / 0.7917 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22): time 0.0006058/0.5285, allocations: 351.5 kB / 0.792 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.5286, allocations: 64.78 kB / 0.7921 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.5287, allocations: 185.6 kB / 0.7923 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.5288, allocations: 43.69 kB / 0.7923 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.5288, allocations: 119.5 kB / 0.7924 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.078e-05/0.5289, allocations: 73.64 kB / 0.7925 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.428e-05/0.529, allocations: 68.66 kB / 0.7925 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.588e-05/0.529, allocations: 339.4 kB / 0.7929 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.5292, allocations: 94.3 kB / 0.793 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.5294, allocations: 227.5 kB / 0.7932 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.5297, allocations: 330.9 kB / 0.7935 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.5298, allocations: 5.438 kB / 0.7935 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004826/0.5302, allocations: 364.6 kB / 0.7938 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.5303, allocations: 7.656 kB / 0.7939 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5303, allocations: 6.844 kB / 0.7939 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.5303, allocations: 3.062 kB / 0.7939 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.5305, allocations: 61.89 kB / 0.7939 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.5305, allocations: 5.719 kB / 0.7939 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.5307, allocations: 54.47 kB / 0.794 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.5307, allocations: 13.12 kB / 0.794 GB, free: 43.88 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.0001208/0.5308, allocations: 166.2 kB / 0.7941 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.5309, allocations: 19.69 kB / 0.7942 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.492e-05/0.5309, allocations: 28.2 kB / 0.7942 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.5309, allocations: 1.719 kB / 0.7942 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.5309, allocations: 0 / 0.7942 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.531, allocations: 10.62 kB / 0.7942 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00076/0.5317, allocations: 0.6302 MB / 0.7948 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5317, allocations: 0 / 0.7948 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.5318, allocations: 17.23 kB / 0.7948 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.5319, allocations: 7.5 kB / 0.7948 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.5319, allocations: 12.81 kB / 0.7949 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.5319, allocations: 3.938 kB / 0.7949 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5319, allocations: 3 kB / 0.7949 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005628/0.5325, allocations: 468.7 kB / 0.7953 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.071e-05/0.5325, allocations: 95.56 kB / 0.7954 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.5326, allocations: 19.94 kB / 0.7954 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.5327, allocations: 20.16 kB / 0.7954 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.5328, allocations: 16.62 kB / 0.7955 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.5328, allocations: 13.78 kB / 0.7955 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.305e-05/0.5329, allocations: 133.2 kB / 0.7956 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5329, allocations: 0 / 0.7956 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004266/0.5333, allocations: 102 kB / 0.7957 GB, free: 43.09 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.0006472/0.534, allocations: 313.2 kB / 0.796 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004362/0.5345, allocations: 252.8 kB / 0.7962 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5345, allocations: 0 / 0.7962 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.5346, allocations: 95.06 kB / 0.7963 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.535, allocations: 25.09 kB / 0.7963 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007034/0.5357, allocations: 457.1 kB / 0.7968 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.5358, allocations: 0.7415 MB / 0.7975 GB, free: 42.06 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00011/0.5359, allocations: 50.36 kB / 0.7976 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.536, allocations: 18 kB / 0.7976 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.536, allocations: 1.406 kB / 0.7976 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of Templates: time 0.006321/0.5423, allocations: 3.046 MB / 0.8006 GB, free: 41.86 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe 2>&1)