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 4.48/4.48, allocations: 0.5623 GB / 0.5769 GB, free: 66.91 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002548/0.002547, allocations: 363.1 kB / 0.644 GB, free: 21.5 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.85/3.85, allocations: 410.8 MB / 1.112 GB, free: 109.6 MB / 0.5573 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001809/0.001809, allocations: 171.3 kB / 1.225 GB, free: 9.516 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004727, allocations: 8 kB / 1.348 GB, free: 84.68 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1664, allocations: 115.3 MB / 1.461 GB, free: 1.316 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.5695/0.7359, allocations: 271.4 kB / 1.461 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002204/0.7382, allocations: 1.183 MB / 1.462 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.7382, allocations: 0 / 1.462 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.062e-05/0.7383, allocations: 3.281 kB / 1.462 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.657e-05/0.7384, allocations: 0 / 1.462 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008193/0.7392, allocations: 268.4 kB / 1.462 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.7394, allocations: 55.25 kB / 1.462 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/0.7394, allocations: 4.344 kB / 1.462 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.952e-05/0.7395, allocations: 46.75 kB / 1.463 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.333e-05/0.7396, allocations: 42.94 kB / 1.463 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.7396, allocations: 3.5 kB / 1.463 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005391/0.7402, allocations: 188.7 kB / 1.463 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.7402, allocations: 7.906 kB / 1.463 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.7403, allocations: 32.12 kB / 1.463 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003903/0.7407, allocations: 198.3 kB / 1.463 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.295e-05/0.7407, allocations: 0 / 1.463 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.18e-06/0.7407, allocations: 1.5 kB / 1.463 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.033e-06/0.7407, allocations: 0 / 1.463 GB, free: 11.24 MB / 0.6042 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.0003545/0.7411, allocations: 426.6 kB / 1.463 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.7411, allocations: 8.312 kB / 1.463 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.83e-05/0.7412, allocations: 7.578 kB / 1.463 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.7413, allocations: 183 kB / 1.464 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.7414, allocations: 2.312 kB / 1.464 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.7414, allocations: 5.75 kB / 1.464 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.7417, allocations: 121.9 kB / 1.464 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.7417, allocations: 0 / 1.464 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.7418, allocations: 4.469 kB / 1.464 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.32e-06/0.7418, allocations: 4 kB / 1.464 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.7419, allocations: 59.45 kB / 1.464 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001404/0.7421, allocations: 174.5 kB / 1.464 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.7423, allocations: 122.5 kB / 1.464 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.7425, allocations: 99.38 kB / 1.464 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.481e-06/0.7425, allocations: 1.219 kB / 1.464 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.7426, allocations: 36.97 kB / 1.464 GB, free: 10.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 2.231e-06/0.7426, allocations: 4 kB / 1.464 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.000699/0.7433, allocations: 285.2 kB / 1.464 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.7433, allocations: 90.88 kB / 1.465 GB, free: 9.992 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.972e-05/0.7434, allocations: 124 kB / 1.465 GB, free: 9.883 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.7435, allocations: 27.55 kB / 1.465 GB, free: 9.852 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.037e-05/0.7435, allocations: 88.33 kB / 1.465 GB, free: 9.766 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.864e-05/0.7436, allocations: 17.95 kB / 1.465 GB, free: 9.754 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-05/0.7436, allocations: 2.656 kB / 1.465 GB, free: 9.754 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.7437, allocations: 326.8 kB / 1.465 GB, free: 9.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.7439, allocations: 58.55 kB / 1.465 GB, free: 9.422 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.7441, allocations: 64.23 kB / 1.465 GB, free: 9.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.7442, allocations: 85.39 kB / 1.465 GB, free: 9.371 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.7443, allocations: 1.031 kB / 1.465 GB, free: 9.371 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005505/0.7448, allocations: 228 kB / 1.466 GB, free: 9.281 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.904e-05/0.7449, allocations: 46.69 kB / 1.466 GB, free: 9.246 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.772e-06/0.7449, allocations: 0.5938 kB / 1.466 GB, free: 9.246 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.7449, allocations: 3.938 kB / 1.466 GB, free: 9.242 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.701e-06/0.745, allocations: 0.9062 kB / 1.466 GB, free: 9.242 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.745, allocations: 4.062 kB / 1.466 GB, free: 9.238 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.7454, allocations: 20.39 kB / 1.466 GB, free: 9.238 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.154e-05/0.7454, allocations: 14.42 kB / 1.466 GB, free: 9.238 MB / 0.6042 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.0002193/0.7457, allocations: 166.7 kB / 1.466 GB, free: 9.086 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.801e-05/0.7457, allocations: 13.12 kB / 1.466 GB, free: 9.082 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.121e-05/0.7458, allocations: 8.25 kB / 1.466 GB, free: 9.082 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.146e-06/0.7458, allocations: 1.078 kB / 1.466 GB, free: 9.082 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.424e-06/0.7458, allocations: 0.5312 kB / 1.466 GB, free: 9.082 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.053e-06/0.7458, allocations: 4 kB / 1.466 GB, free: 9.078 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.746, allocations: 176.2 kB / 1.466 GB, free: 8.879 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.945e-06/0.746, allocations: 384 / 1.466 GB, free: 8.879 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.853e-06/0.746, allocations: 7.484 kB / 1.466 GB, free: 8.875 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.091e-06/0.746, allocations: 0.5312 kB / 1.466 GB, free: 8.875 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/0.7461, allocations: 11.77 kB / 1.466 GB, free: 8.875 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.42e-06/0.7461, allocations: 4.875 kB / 1.466 GB, free: 8.871 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.778e-06/0.7461, allocations: 1.25 kB / 1.466 GB, free: 8.871 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006303/0.7468, allocations: 298.2 kB / 1.466 GB, free: 8.727 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.597e-05/0.7468, allocations: 95.62 kB / 1.466 GB, free: 8.621 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.719e-05/0.7469, allocations: 6.078 kB / 1.466 GB, free: 8.621 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.7472, allocations: 20.22 kB / 1.466 GB, free: 8.621 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.7473, allocations: 8.562 kB / 1.466 GB, free: 8.621 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.297e-05/0.7473, allocations: 18.06 kB / 1.466 GB, free: 8.617 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.8e-05/0.7474, allocations: 92.48 kB / 1.467 GB, free: 8.539 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.26e-07/0.7474, allocations: 0 / 1.467 GB, free: 8.539 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000542/0.748, allocations: 93.23 kB / 1.467 GB, free: 8.516 MB / 0.6042 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.001267/0.7493, allocations: 391.1 kB / 1.467 GB, free: 8.355 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005573/0.7499, allocations: 285.3 kB / 1.467 GB, free: 8.223 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7499, allocations: 0 / 1.467 GB, free: 8.223 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.7502, allocations: 214 kB / 1.467 GB, free: 8.098 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.7504, allocations: 17.17 kB / 1.467 GB, free: 8.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007595/0.7512, allocations: 305.8 kB / 1.468 GB, free: 7.926 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.7513, allocations: 0.6843 MB / 1.468 GB, free: 7.23 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001165/0.7515, allocations: 57.86 kB / 1.468 GB, free: 7.223 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.566e-05/0.7515, allocations: 9.25 kB / 1.468 GB, free: 7.215 MB / 0.6042 GB Notification: Performance of SimCode: time 1.842e-06/0.7515, allocations: 0 / 1.468 GB, free: 7.215 MB / 0.6042 GB Notification: Performance of Templates: time 0.01077/0.7623, allocations: 3.882 MB / 1.472 GB, free: 6.848 MB / 0.6042 GB