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.0009733/0.0009736, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0008949/0.0008949, allocations: 177.3 kB / 15.94 MB, free: 228 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.856/1.856, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.696/1.696, allocations: 251.9 MB / 0.51 GB, free: 4.828 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.0005738/0.0005739, allocations: 16 kB / 0.6241 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6709/0.6715, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0009634/0.6725, allocations: 267.2 kB / 0.7282 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00185/0.6744, allocations: 1.201 MB / 0.7294 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.545e-05/0.6744, allocations: 0 / 0.7294 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.6745, allocations: 0 / 0.7294 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.196e-05/0.6746, allocations: 0 / 0.7294 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006299/0.6752, allocations: 267.3 kB / 0.7297 GB, free: 9.711 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.6753, allocations: 47.92 kB / 0.7297 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.61e-05/0.6754, allocations: 0 / 0.7297 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.246e-05/0.6755, allocations: 43.91 kB / 0.7298 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.57e-05/0.6755, allocations: 39.89 kB / 0.7298 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.6756, allocations: 8 kB / 0.7298 GB, free: 9.574 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003772/0.6759, allocations: 167.7 kB / 0.73 GB, free: 9.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.175e-05/0.676, allocations: 11.92 kB / 0.73 GB, free: 9.398 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.164e-05/0.676, allocations: 33.7 kB / 0.73 GB, free: 9.359 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.6763, allocations: 195.7 kB / 0.7302 GB, free: 9.168 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.6763, allocations: 0 / 0.7302 GB, free: 9.168 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.675e-06/0.6764, allocations: 0 / 0.7302 GB, free: 9.168 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.6764, allocations: 0 / 0.7302 GB, free: 9.168 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.0004821/0.6768, allocations: 422.9 kB / 0.7306 GB, free: 8.703 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.6769, allocations: 12.03 kB / 0.7306 GB, free: 8.691 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.233e-05/0.677, allocations: 11.91 kB / 0.7306 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.6771, allocations: 179 kB / 0.7308 GB, free: 8.465 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.6771, allocations: 0 / 0.7308 GB, free: 8.465 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.6772, allocations: 8 kB / 0.7308 GB, free: 8.457 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.6774, allocations: 133.5 kB / 0.7309 GB, free: 8.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.6774, allocations: 0 / 0.7309 GB, free: 8.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.6775, allocations: 4 kB / 0.7309 GB, free: 8.316 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.6775, allocations: 3.984 kB / 0.7309 GB, free: 8.312 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.6776, allocations: 59.94 kB / 0.731 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.6778, allocations: 173.6 kB / 0.7312 GB, free: 8.035 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.6779, allocations: 106.5 kB / 0.7313 GB, free: 7.922 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.6779, allocations: 0 / 0.7313 GB, free: 7.922 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.678, allocations: 50.52 kB / 0.7313 GB, free: 7.863 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 7.51e-07/0.678, allocations: 0 / 0.7313 GB, free: 7.863 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0005834/0.6786, allocations: 368.2 kB / 0.7317 GB, free: 7.473 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.6786, allocations: 97.12 kB / 0.7318 GB, free: 7.359 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.6788, allocations: 117.8 kB / 0.7319 GB, free: 7.234 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.6788, allocations: 25.7 kB / 0.7319 GB, free: 7.203 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.6788, allocations: 88.14 kB / 0.732 GB, free: 7.113 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.933e-05/0.6789, allocations: 23.73 kB / 0.732 GB, free: 7.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/0.6789, allocations: 4 kB / 0.732 GB, free: 7.086 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.679, allocations: 314.8 kB / 0.7323 GB, free: 6.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.545e-05/0.6792, allocations: 63.94 kB / 0.7324 GB, free: 6.707 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.866e-05/0.6792, allocations: 63.89 kB / 0.7324 GB, free: 6.645 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.6794, allocations: 89.69 kB / 0.7325 GB, free: 6.551 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6794, allocations: 0 / 0.7325 GB, free: 6.551 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003003/0.6797, allocations: 227.2 kB / 0.7327 GB, free: 6.316 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.259e-05/0.6797, allocations: 45.69 kB / 0.7328 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.6797, allocations: 0 / 0.7328 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.6798, allocations: 0 / 0.7328 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.6798, allocations: 0 / 0.7328 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.6798, allocations: 0 / 0.7328 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003068/0.6801, allocations: 27.83 kB / 0.7328 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.6801, allocations: 11.98 kB / 0.7328 GB, free: 6.227 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.0001569/0.6803, allocations: 171.5 kB / 0.733 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.6804, allocations: 15.91 kB / 0.733 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.663e-05/0.6804, allocations: 8.375 kB / 0.733 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.6804, allocations: 0 / 0.733 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6804, allocations: 0 / 0.733 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.6804, allocations: 3.984 kB / 0.733 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.6805, allocations: 169.6 kB / 0.7332 GB, free: 5.801 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.6805, allocations: 0 / 0.7332 GB, free: 5.801 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-06/0.6806, allocations: 7.922 kB / 0.7332 GB, free: 5.793 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.6806, allocations: 4.25 kB / 0.7332 GB, free: 5.789 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.6806, allocations: 8.375 kB / 0.7332 GB, free: 5.781 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.6806, allocations: 4 kB / 0.7332 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6806, allocations: 4 kB / 0.7332 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.681, allocations: 294.5 kB / 0.7335 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.229e-05/0.6811, allocations: 96.88 kB / 0.7336 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.6811, allocations: 8 kB / 0.7336 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.6813, allocations: 24 kB / 0.7336 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.6813, allocations: 8 kB / 0.7336 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.6814, allocations: 15.98 kB / 0.7336 GB, free: 5.293 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.897e-05/0.6814, allocations: 91.27 kB / 0.7337 GB, free: 5.203 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6814, allocations: 0 / 0.7337 GB, free: 5.203 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003434/0.6818, allocations: 95.92 kB / 0.7338 GB, free: 5.109 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.0008894/0.6827, allocations: 392.2 kB / 0.7342 GB, free: 4.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003851/0.6831, allocations: 291.2 kB / 0.7344 GB, free: 4.523 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.6831, allocations: 4 kB / 0.7344 GB, free: 4.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.6833, allocations: 207.3 kB / 0.7346 GB, free: 4.305 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.6834, allocations: 11.88 kB / 0.7347 GB, free: 4.293 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004925/0.6839, allocations: 258.7 kB / 0.7349 GB, free: 4.012 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.6842, allocations: 0.6889 MB / 0.7356 GB, free: 3.297 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.247e-05/0.6843, allocations: 51.86 kB / 0.7356 GB, free: 3.246 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.572e-05/0.6843, allocations: 11.44 kB / 0.7356 GB, free: 3.234 MB / 0.545 GB Notification: Performance of SimCode: time 4.1e-07/0.6843, allocations: 0 / 0.7356 GB, free: 3.234 MB / 0.545 GB Notification: Performance of Templates: time 0.00732/0.6917, allocations: 3.892 MB / 0.7394 GB, free: 15.38 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: