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.0009372/0.0009372, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009987/0.0009987, allocations: 192.3 kB / 16.13 MB, free: 6.699 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.139/1.139, allocations: 205.1 MB / 222 MB, free: 4.773 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.302/1.302, allocations: 251.6 MB / 0.5088 GB, free: 3.266 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.001183/0.001183, allocations: 67.89 kB / 0.6216 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3456, allocations: 104.7 MB / 0.7238 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.001726/0.3474, allocations: 0.611 MB / 0.7244 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.3489, allocations: 1.28 MB / 0.7257 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.416e-05/0.349, allocations: 3.938 kB / 0.7257 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.207e-05/0.349, allocations: 7.984 kB / 0.7257 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.544e-05/0.3491, allocations: 4 kB / 0.7257 GB, free: 11.35 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.0005084/0.3496, allocations: 251.6 kB / 0.7259 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.68e-05/0.3497, allocations: 75.86 kB / 0.726 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.152e-05/0.3497, allocations: 4 kB / 0.726 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.981e-05/0.3498, allocations: 43.89 kB / 0.7261 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.974e-05/0.3498, allocations: 35.91 kB / 0.7261 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.3499, allocations: 7.938 kB / 0.7261 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003314/0.3502, allocations: 203.7 kB / 0.7263 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.3502, allocations: 11.94 kB / 0.7263 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.21e-05/0.3503, allocations: 39.84 kB / 0.7263 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.3506, allocations: 275.5 kB / 0.7266 GB, free: 10.42 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3506, allocations: 0 / 0.7266 GB, free: 10.42 MB / 0.545 GB Notification: Performance of FrontEnd: time 5.61e-07/0.3506, allocations: 0 / 0.7266 GB, free: 10.42 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.3506, allocations: 0 / 0.7266 GB, free: 10.42 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.0003537/0.3509, allocations: 447.2 kB / 0.727 GB, free: 9.934 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.607e-05/0.351, allocations: 8.031 kB / 0.727 GB, free: 9.926 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.683e-05/0.351, allocations: 12.84 kB / 0.727 GB, free: 9.914 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.548e-05/0.3511, allocations: 176.3 kB / 0.7272 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.3512, allocations: 8.375 kB / 0.7272 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.3512, allocations: 8.375 kB / 0.7272 GB, free: 9.688 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.3514, allocations: 125.7 kB / 0.7273 GB, free: 9.559 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.448e-06/0.3514, allocations: 0 / 0.7273 GB, free: 9.559 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.3514, allocations: 4 kB / 0.7274 GB, free: 9.555 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-06/0.3514, allocations: 0 / 0.7274 GB, free: 9.555 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.497e-05/0.3515, allocations: 63.92 kB / 0.7274 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000121/0.3516, allocations: 165.6 kB / 0.7276 GB, free: 9.281 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.3518, allocations: 122.5 kB / 0.7277 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.3519, allocations: 104.9 kB / 0.7278 GB, free: 9.047 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.91e-06/0.3519, allocations: 0 / 0.7278 GB, free: 9.047 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.3519, allocations: 38.5 kB / 0.7278 GB, free: 9 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 7.41e-07/0.3519, allocations: 0 / 0.7278 GB, free: 9 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.000433/0.3524, allocations: 291.1 kB / 0.7281 GB, free: 8.703 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.3524, allocations: 85.11 kB / 0.7282 GB, free: 8.602 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.256e-05/0.3525, allocations: 137.6 kB / 0.7283 GB, free: 8.457 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.3525, allocations: 25.7 kB / 0.7283 GB, free: 8.426 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.876e-05/0.3526, allocations: 88.14 kB / 0.7284 GB, free: 8.336 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.3526, allocations: 15.75 kB / 0.7284 GB, free: 8.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.037e-05/0.3527, allocations: 45.69 kB / 0.7285 GB, free: 8.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.5e-05/0.3528, allocations: 318.8 kB / 0.7288 GB, free: 7.949 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.553e-05/0.3529, allocations: 55.95 kB / 0.7288 GB, free: 7.895 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.514e-05/0.353, allocations: 63.94 kB / 0.7289 GB, free: 7.832 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.3532, allocations: 184.2 kB / 0.7291 GB, free: 7.637 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.3532, allocations: 7.922 kB / 0.7291 GB, free: 7.629 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002956/0.3535, allocations: 231.1 kB / 0.7293 GB, free: 7.391 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.362e-05/0.3535, allocations: 45.69 kB / 0.7293 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.3535, allocations: 0 / 0.7293 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.3535, allocations: 0 / 0.7293 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.3535, allocations: 0 / 0.7293 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.3535, allocations: 0 / 0.7293 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002552/0.3538, allocations: 27.88 kB / 0.7294 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.3538, allocations: 8 kB / 0.7294 GB, free: 7.305 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.0001159/0.354, allocations: 171.5 kB / 0.7295 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/0.354, allocations: 19.84 kB / 0.7296 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.093e-05/0.354, allocations: 8.359 kB / 0.7296 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.354, allocations: 0 / 0.7296 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.3541, allocations: 0 / 0.7296 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-06/0.3541, allocations: 0 / 0.7296 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.901e-05/0.3542, allocations: 173.9 kB / 0.7297 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.3542, allocations: 0 / 0.7297 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-06/0.3542, allocations: 7.938 kB / 0.7297 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.3542, allocations: 4 kB / 0.7297 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.3542, allocations: 11.98 kB / 0.7298 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.3542, allocations: 0 / 0.7298 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3542, allocations: 4 kB / 0.7298 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.3546, allocations: 290.5 kB / 0.73 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.3546, allocations: 84.98 kB / 0.7301 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.3546, allocations: 8 kB / 0.7301 GB, free: 6.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.3548, allocations: 20 kB / 0.7301 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.3549, allocations: 8 kB / 0.7302 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.3549, allocations: 20.36 kB / 0.7302 GB, free: 6.383 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.34e-05/0.355, allocations: 95.2 kB / 0.7303 GB, free: 6.289 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.355, allocations: 0 / 0.7303 GB, free: 6.289 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002961/0.3553, allocations: 99.81 kB / 0.7304 GB, free: 6.191 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.0006392/0.3559, allocations: 390.3 kB / 0.7307 GB, free: 5.898 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003139/0.3562, allocations: 287.3 kB / 0.731 GB, free: 5.605 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.3562, allocations: 3.938 kB / 0.731 GB, free: 5.602 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.3564, allocations: 207.3 kB / 0.7312 GB, free: 5.387 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.3566, allocations: 19.86 kB / 0.7312 GB, free: 5.367 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004578/0.357, allocations: 310.7 kB / 0.7315 GB, free: 5.035 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.3573, allocations: 0.685 MB / 0.7322 GB, free: 4.324 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.847e-05/0.3573, allocations: 55.86 kB / 0.7322 GB, free: 4.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.118e-05/0.3573, allocations: 11.44 kB / 0.7323 GB, free: 4.258 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.3573, allocations: 0 / 0.7323 GB, free: 4.258 MB / 0.545 GB Notification: Performance of Templates: time 0.005359/0.3627, allocations: 3.949 MB / 0.7361 GB, free: 360 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)