Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.000834/0.000834, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0009802/0.0009803, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.523/1.523, allocations: 252 MB / 0.5102 GB, free: 4.699 MB / 414.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.0005956/0.0005958, allocations: 19.75 kB / 0.6243 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6298/0.6305, allocations: 106.3 MB / 0.7282 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0008531/0.6314, allocations: 263.9 kB / 0.7284 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002088/0.6335, allocations: 1.197 MB / 0.7296 GB, free: 9.922 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.569e-05/0.6335, allocations: 0 / 0.7296 GB, free: 9.922 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.6337, allocations: 11.98 kB / 0.7296 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.671e-05/0.6337, allocations: 0 / 0.7296 GB, free: 9.91 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0006488/0.6344, allocations: 259.5 kB / 0.7298 GB, free: 9.656 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.6345, allocations: 59.86 kB / 0.7299 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.761e-05/0.6346, allocations: 4 kB / 0.7299 GB, free: 9.594 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/0.6346, allocations: 43.89 kB / 0.7299 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.564e-05/0.6347, allocations: 47.84 kB / 0.73 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.6347, allocations: 4 kB / 0.73 GB, free: 9.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004137/0.6351, allocations: 191.7 kB / 0.7302 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.6352, allocations: 11.92 kB / 0.7302 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.564e-05/0.6352, allocations: 29.7 kB / 0.7302 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003939/0.6356, allocations: 199.7 kB / 0.7304 GB, free: 9.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.6356, allocations: 0 / 0.7304 GB, free: 9.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.585e-06/0.6357, allocations: 0 / 0.7304 GB, free: 9.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.6357, allocations: 0 / 0.7304 GB, free: 9.07 MB / 0.545 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.0004799/0.6362, allocations: 418.9 kB / 0.7308 GB, free: 8.609 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.6362, allocations: 16.03 kB / 0.7308 GB, free: 8.594 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.146e-05/0.6363, allocations: 15.84 kB / 0.7308 GB, free: 8.578 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.6364, allocations: 179 kB / 0.731 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.6365, allocations: 0 / 0.731 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.6365, allocations: 8 kB / 0.731 GB, free: 8.355 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.6367, allocations: 121.6 kB / 0.7311 GB, free: 8.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.6367, allocations: 0 / 0.7311 GB, free: 8.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.6368, allocations: 7.984 kB / 0.7311 GB, free: 8.223 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.6368, allocations: 0 / 0.7311 GB, free: 8.223 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.6369, allocations: 63.95 kB / 0.7312 GB, free: 8.16 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.6371, allocations: 165.5 kB / 0.7313 GB, free: 7.949 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.6372, allocations: 122.5 kB / 0.7315 GB, free: 7.82 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.6374, allocations: 100.9 kB / 0.7316 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.6374, allocations: 4 kB / 0.7316 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.6374, allocations: 34.55 kB / 0.7316 GB, free: 7.672 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.6374, allocations: 0 / 0.7316 GB, free: 7.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0007155/0.6382, allocations: 291.1 kB / 0.7319 GB, free: 7.375 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.6382, allocations: 89.09 kB / 0.732 GB, free: 7.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.6385, allocations: 129.7 kB / 0.7321 GB, free: 7.133 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.6385, allocations: 25.7 kB / 0.7321 GB, free: 7.102 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/0.6386, allocations: 88.14 kB / 0.7322 GB, free: 7.012 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.6386, allocations: 15.75 kB / 0.7322 GB, free: 6.996 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.406e-05/0.6387, allocations: 4 kB / 0.7322 GB, free: 6.992 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002144/0.6389, allocations: 322.8 kB / 0.7325 GB, free: 6.668 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.639, allocations: 59.98 kB / 0.7326 GB, free: 6.609 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.163e-05/0.6391, allocations: 67.94 kB / 0.7326 GB, free: 6.543 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.6392, allocations: 85.66 kB / 0.7327 GB, free: 6.453 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6392, allocations: 0 / 0.7327 GB, free: 6.453 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003052/0.6395, allocations: 223.3 kB / 0.7329 GB, free: 6.223 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.304e-05/0.6396, allocations: 45.69 kB / 0.733 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.6396, allocations: 0 / 0.733 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.6396, allocations: 0 / 0.733 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.944e-06/0.6396, allocations: 0 / 0.733 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.6396, allocations: 384 / 0.733 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.6399, allocations: 31.94 kB / 0.733 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.64, allocations: 15.92 kB / 0.733 GB, free: 6.125 MB / 0.545 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 (yI1[1],yI2[1],yI2[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.6401, allocations: 167.5 kB / 0.7332 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.6402, allocations: 19.84 kB / 0.7332 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.739e-05/0.6402, allocations: 4.375 kB / 0.7332 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.6402, allocations: 256 / 0.7332 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6402, allocations: 0 / 0.7332 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.6402, allocations: 4 kB / 0.7332 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.6404, allocations: 177.6 kB / 0.7334 GB, free: 5.695 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6404, allocations: 4 kB / 0.7334 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-06/0.6404, allocations: 0 / 0.7334 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.6404, allocations: 3.938 kB / 0.7334 GB, free: 5.688 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.6404, allocations: 11.98 kB / 0.7334 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.6404, allocations: 4 kB / 0.7334 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6404, allocations: 0 / 0.7334 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.6408, allocations: 290.5 kB / 0.7337 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.604e-05/0.6409, allocations: 92.94 kB / 0.7338 GB, free: 5.254 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.641, allocations: 16.02 kB / 0.7338 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.6411, allocations: 15.98 kB / 0.7338 GB, free: 5.223 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.6412, allocations: 11.92 kB / 0.7338 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/0.6412, allocations: 16 kB / 0.7338 GB, free: 5.195 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.531e-05/0.6413, allocations: 95.25 kB / 0.7339 GB, free: 5.102 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6413, allocations: 0 / 0.7339 GB, free: 5.102 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000352/0.6416, allocations: 87.98 kB / 0.734 GB, free: 5.016 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 3 (yI2[2],yI2[1],yI1[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0008494/0.6425, allocations: 399.7 kB / 0.7344 GB, free: 4.715 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003865/0.6429, allocations: 287.3 kB / 0.7347 GB, free: 4.422 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6429, allocations: 0 / 0.7347 GB, free: 4.422 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.6432, allocations: 211.3 kB / 0.7349 GB, free: 4.203 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.6433, allocations: 11.95 kB / 0.7349 GB, free: 4.191 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006801/0.644, allocations: 310.7 kB / 0.7352 GB, free: 3.859 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005072/0.6445, allocations: 0.6809 MB / 0.7358 GB, free: 3.152 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.425e-05/0.6446, allocations: 55.86 kB / 0.7359 GB, free: 3.098 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.501e-05/0.6447, allocations: 7.438 kB / 0.7359 GB, free: 3.09 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.6447, allocations: 0 / 0.7359 GB, free: 3.09 MB / 0.545 GB Notification: Performance of Templates: time 0.007734/0.6524, allocations: 3.887 MB / 0.7397 GB, free: 15.24 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & ./Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1) Environment - environmentSimulation: