Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.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.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 111.8 kB / 16.37 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.001033/0.001033, allocations: 189.8 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.33/1.33, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.77/1.77, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001411/0.001411, allocations: 63.89 kB / 0.6729 GB, free: 5.652 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2348, allocations: 114.6 MB / 0.7848 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.002343/0.2372, allocations: 0.5609 MB / 0.7854 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002125/0.2393, allocations: 1.265 MB / 0.7866 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.844e-05/0.2394, allocations: 0 / 0.7866 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.2396, allocations: 12 kB / 0.7866 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.293e-05/0.2396, allocations: 3.938 kB / 0.7866 GB, free: 1.137 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.001103/0.2407, allocations: 291.2 kB / 0.7869 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.2409, allocations: 79.8 kB / 0.787 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.213e-05/0.241, allocations: 8 kB / 0.787 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.24e-05/0.2411, allocations: 39.91 kB / 0.787 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.2412, allocations: 43.89 kB / 0.787 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.2412, allocations: 4 kB / 0.787 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004741/0.2417, allocations: 231.6 kB / 0.7873 GB, free: 464 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.513e-05/0.2417, allocations: 4 kB / 0.7873 GB, free: 460 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.354e-05/0.2418, allocations: 35.78 kB / 0.7873 GB, free: 424 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004065/0.2422, allocations: 271.5 kB / 0.7876 GB, free: 152 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2422, allocations: 0 / 0.7876 GB, free: 152 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2422, allocations: 0 / 0.7876 GB, free: 152 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.2422, allocations: 4 kB / 0.7876 GB, free: 148 kB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.3677/0.6099, allocations: 446.8 kB / 0.788 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.036e-05/0.61, allocations: 9.531 kB / 0.788 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.824e-05/0.6101, allocations: 6.344 kB / 0.788 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.6102, allocations: 177.3 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.6103, allocations: 2.75 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.6103, allocations: 8.531 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.6105, allocations: 123.4 kB / 0.7883 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.6106, allocations: 1.594 kB / 0.7883 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.6106, allocations: 8.625 kB / 0.7883 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.6106, allocations: 3.281 kB / 0.7883 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.6107, allocations: 66.61 kB / 0.7884 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.6109, allocations: 155.7 kB / 0.7885 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.611, allocations: 115.3 kB / 0.7886 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.6111, allocations: 104.2 kB / 0.7887 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.6111, allocations: 1.688 kB / 0.7887 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.6112, allocations: 36.97 kB / 0.7888 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.6112, allocations: 2.812 kB / 0.7888 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0004741/0.6117, allocations: 293.9 kB / 0.7891 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.6117, allocations: 90.64 kB / 0.7891 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.709e-05/0.6118, allocations: 126.2 kB / 0.7893 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.6118, allocations: 31.98 kB / 0.7893 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.403e-05/0.6119, allocations: 82.33 kB / 0.7894 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.6119, allocations: 22.83 kB / 0.7894 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-05/0.612, allocations: 39.05 kB / 0.7894 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.007e-05/0.612, allocations: 317.2 kB / 0.7897 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.45e-05/0.6121, allocations: 64.86 kB / 0.7898 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.762e-05/0.6122, allocations: 58.31 kB / 0.7899 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.6124, allocations: 184.3 kB / 0.79 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6124, allocations: 1.156 kB / 0.79 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002842/0.6127, allocations: 226.9 kB / 0.7903 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.6127, allocations: 45.59 kB / 0.7903 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.6127, allocations: 5.156 kB / 0.7903 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.6128, allocations: 3.938 kB / 0.7903 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.633e-06/0.6128, allocations: 2.812 kB / 0.7903 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.6128, allocations: 0 / 0.7903 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.6131, allocations: 28.19 kB / 0.7903 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.6132, allocations: 17.72 kB / 0.7903 GB, free: 47.52 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI2[2],yI2[1],yI1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001057/0.6133, allocations: 163.7 kB / 0.7905 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.6133, allocations: 12.69 kB / 0.7905 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.624e-05/0.6133, allocations: 13.14 kB / 0.7905 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6133, allocations: 2.406 kB / 0.7905 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.6134, allocations: 0 / 0.7905 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.631e-05/0.6134, allocations: 78.7 kB / 0.7906 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.6134, allocations: 5.906 kB / 0.7906 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.6136, allocations: 19.47 kB / 0.7906 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.6136, allocations: 10.31 kB / 0.7906 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003354/0.614, allocations: 401 kB / 0.791 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003485/0.6143, allocations: 442.4 kB / 0.7914 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000138/0.6145, allocations: 141.7 kB / 0.7916 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.282e-05/0.6145, allocations: 90.72 kB / 0.7917 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of Backend: time 2.91e-07/0.6145, allocations: 0 / 0.7917 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01206/0.6266, allocations: 0.5962 MB / 0.7922 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003923/0.627, allocations: 0.6411 MB / 0.7929 GB, free: 46 MB / 0.6544 GB Notification: Performance of Templates: time 0.007295/0.6344, allocations: 4.055 MB / 0.7968 GB, free: 45.75 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.makefile (rm -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & ./Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)