Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.151/5.151, allocations: 0.5623 GB / 0.5775 GB, free: 3.332 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002502/0.002502, allocations: 359.3 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.263/4.263, allocations: 410.7 MB / 1.113 GB, free: 5.922 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001931/0.001931, allocations: 177 kB / 1.226 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005309/0.0005314, allocations: 8 kB / 1.349 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7179/0.7185, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0007712/0.7193, allocations: 283 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001947/0.7213, allocations: 1.182 MB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.726e-05/0.7213, allocations: 1.625 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 8.98e-05/0.7214, allocations: 3.984 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.792e-05/0.7215, allocations: 3.938 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007473/0.7223, allocations: 262.2 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.399e-05/0.7224, allocations: 60.8 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/0.7224, allocations: 5.062 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.551e-05/0.7225, allocations: 47.88 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.452e-05/0.7226, allocations: 42 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.7226, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004528/0.7231, allocations: 195.6 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.7231, allocations: 4 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.7231, allocations: 29.7 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.7235, allocations: 203.6 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.7235, allocations: 2.844 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7235, allocations: 0 / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.7235, allocations: 0 / 1.464 GB, free: 282 MB / 0.8542 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.0003714/0.7239, allocations: 423 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.7239, allocations: 11.62 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/0.724, allocations: 8 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.7241, allocations: 177.3 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.7242, allocations: 5.125 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.7242, allocations: 8 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.7245, allocations: 121.6 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.7245, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.7246, allocations: 5.156 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.7246, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.7248, allocations: 67.81 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.7249, allocations: 170.2 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.7251, allocations: 116.9 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.7253, allocations: 102.5 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-06/0.7253, allocations: 0 / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.7254, allocations: 38.56 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.7254, allocations: 1.656 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.0006789/0.7261, allocations: 287.1 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.7261, allocations: 85.11 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.718e-05/0.7262, allocations: 131.7 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.7263, allocations: 29.7 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/0.7263, allocations: 84.14 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.7264, allocations: 15.75 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.7264, allocations: 4 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.515e-05/0.7265, allocations: 327.8 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.7266, allocations: 55.95 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.7268, allocations: 64.53 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.7269, allocations: 87.12 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.727, allocations: 0 / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004545/0.7274, allocations: 231.1 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.898e-05/0.7275, allocations: 49.28 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.7275, allocations: 4.5 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.7275, allocations: 0.75 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.976e-06/0.7275, allocations: 4.234 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.7276, allocations: 0.5 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004687/0.728, allocations: 21.11 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.436e-05/0.7281, allocations: 15.98 kB / 1.466 GB, free: 279.1 MB / 0.8542 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.000165/0.7283, allocations: 172 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.7283, allocations: 13.19 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.561e-05/0.7284, allocations: 8.375 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.7284, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.7284, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.671e-05/0.7284, allocations: 90.06 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/0.7285, allocations: 12.5 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/0.7289, allocations: 20.42 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.7289, allocations: 16.78 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005376/0.7295, allocations: 398.9 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000546/0.7301, allocations: 433.3 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002209/0.7303, allocations: 137.4 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.415e-05/0.7304, allocations: 96.3 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of Backend: time 1.061e-06/0.7304, allocations: 2.625 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001709/0.7321, allocations: 0.6012 MB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0004024/0.7325, allocations: 0.6613 MB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.009382/0.7419, allocations: 3.888 MB / 1.473 GB, free: 272.8 MB / 0.8542 GB