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.0009358/0.0009358, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0008686/0.0008687, allocations: 192.7 kB / 16.25 MB, free: 6.621 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.099/1.099, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.285/1.285, allocations: 251.7 MB / 0.5089 GB, free: 3.305 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.001307/0.001307, allocations: 68.47 kB / 0.6218 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3526, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.001722/0.3543, allocations: 0.6072 MB / 0.7246 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.3557, allocations: 1.253 MB / 0.7258 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.905e-05/0.3558, allocations: 0 / 0.7258 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.093e-05/0.3559, allocations: 11.97 kB / 0.7258 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.008e-05/0.3559, allocations: 0 / 0.7258 GB, free: 11.21 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.0005749/0.3565, allocations: 271.5 kB / 0.7261 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.3566, allocations: 71.92 kB / 0.7262 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.3567, allocations: 7.984 kB / 0.7262 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.589e-05/0.3567, allocations: 43.84 kB / 0.7262 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.838e-05/0.3568, allocations: 47.89 kB / 0.7263 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.3568, allocations: 0 / 0.7263 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003203/0.3571, allocations: 215.6 kB / 0.7265 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.3572, allocations: 3.938 kB / 0.7265 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.705e-05/0.3572, allocations: 47.77 kB / 0.7265 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.3575, allocations: 267.5 kB / 0.7268 GB, free: 10.26 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.3575, allocations: 0 / 0.7268 GB, free: 10.26 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3575, allocations: 0 / 0.7268 GB, free: 10.26 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.3575, allocations: 3.938 kB / 0.7268 GB, free: 10.25 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.000353/0.3579, allocations: 447 kB / 0.7272 GB, free: 9.766 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.3579, allocations: 16.03 kB / 0.7272 GB, free: 9.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.358, allocations: 8.844 kB / 0.7272 GB, free: 9.742 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.3581, allocations: 176.4 kB / 0.7274 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.3581, allocations: 384 / 0.7274 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.3581, allocations: 12.38 kB / 0.7274 GB, free: 9.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.3583, allocations: 121.7 kB / 0.7275 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.099e-06/0.3583, allocations: 4 kB / 0.7275 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.3584, allocations: 0 / 0.7275 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-06/0.3584, allocations: 0 / 0.7275 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.782e-05/0.3585, allocations: 71.88 kB / 0.7276 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.3586, allocations: 165.6 kB / 0.7277 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.3587, allocations: 114.6 kB / 0.7279 GB, free: 8.988 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.3589, allocations: 100.9 kB / 0.728 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.3589, allocations: 0 / 0.728 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.3589, allocations: 34.5 kB / 0.728 GB, free: 8.844 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 7.21e-07/0.3589, allocations: 0 / 0.728 GB, free: 8.844 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.000448/0.3594, allocations: 303 kB / 0.7283 GB, free: 8.535 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.3594, allocations: 85.11 kB / 0.7284 GB, free: 8.434 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.83e-05/0.3595, allocations: 125.7 kB / 0.7285 GB, free: 8.301 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.3595, allocations: 29.7 kB / 0.7285 GB, free: 8.266 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/0.3596, allocations: 84.14 kB / 0.7286 GB, free: 8.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.3596, allocations: 19.73 kB / 0.7286 GB, free: 8.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.529e-05/0.3597, allocations: 41.7 kB / 0.7286 GB, free: 8.113 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.048e-05/0.3598, allocations: 318.8 kB / 0.7289 GB, free: 7.793 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.755e-05/0.3599, allocations: 59.98 kB / 0.729 GB, free: 7.734 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.66e-05/0.36, allocations: 68.31 kB / 0.7291 GB, free: 7.668 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.3602, allocations: 184.1 kB / 0.7292 GB, free: 7.473 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3602, allocations: 0 / 0.7292 GB, free: 7.473 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003017/0.3605, allocations: 231.1 kB / 0.7295 GB, free: 7.234 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.106e-05/0.3605, allocations: 45.62 kB / 0.7295 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3605, allocations: 0 / 0.7295 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.3606, allocations: 0 / 0.7295 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-07/0.3606, allocations: 4 kB / 0.7295 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3606, allocations: 64 / 0.7295 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.3608, allocations: 27.88 kB / 0.7295 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.3609, allocations: 19.98 kB / 0.7296 GB, free: 7.133 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 (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.0001205/0.361, allocations: 163.5 kB / 0.7297 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.361, allocations: 15.84 kB / 0.7297 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.202e-05/0.3611, allocations: 4.375 kB / 0.7297 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.3611, allocations: 0 / 0.7297 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3611, allocations: 7.984 kB / 0.7297 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3611, allocations: 0 / 0.7297 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.3612, allocations: 173.9 kB / 0.7299 GB, free: 6.711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3612, allocations: 4 kB / 0.7299 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-06/0.3612, allocations: 3.938 kB / 0.7299 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.3612, allocations: 4 kB / 0.7299 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.3612, allocations: 15.98 kB / 0.7299 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.3612, allocations: 0 / 0.7299 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3612, allocations: 0 / 0.7299 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.3616, allocations: 290.5 kB / 0.7302 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.3616, allocations: 93.02 kB / 0.7303 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.3617, allocations: 4 kB / 0.7303 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.3619, allocations: 19.97 kB / 0.7303 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/0.3619, allocations: 7.984 kB / 0.7303 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.3619, allocations: 12 kB / 0.7303 GB, free: 6.223 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.014e-05/0.362, allocations: 103.2 kB / 0.7304 GB, free: 6.121 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.362, allocations: 0 / 0.7304 GB, free: 6.121 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002872/0.3623, allocations: 87.83 kB / 0.7305 GB, free: 6.035 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 (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.001406/0.3637, allocations: 405.8 kB / 0.7309 GB, free: 5.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003813/0.3641, allocations: 287.2 kB / 0.7312 GB, free: 5.438 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3641, allocations: 0 / 0.7312 GB, free: 5.438 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.3643, allocations: 215.3 kB / 0.7314 GB, free: 5.215 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.3645, allocations: 8 kB / 0.7314 GB, free: 5.207 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004691/0.365, allocations: 308.7 kB / 0.7317 GB, free: 4.879 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.3652, allocations: 0.6846 MB / 0.7324 GB, free: 4.168 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.425e-05/0.3653, allocations: 56.05 kB / 0.7324 GB, free: 4.113 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.133e-05/0.3653, allocations: 11.42 kB / 0.7324 GB, free: 4.102 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.3653, allocations: 4 kB / 0.7324 GB, free: 4.098 MB / 0.545 GB Notification: Performance of Templates: time 0.00551/0.3708, allocations: 4.044 MB / 0.7364 GB, free: 96 kB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.makefile (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)