Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008516/0.0008516, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005671/0.005671, allocations: 170.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.825/2.825, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.000353, allocations: 9.172 kB / 0.9158 GB, free: 33.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.332, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.0007826/0.3328, allocations: 274.2 kB / 1.074 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.3347, allocations: 1.201 MB / 1.076 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.881e-05/0.3347, allocations: 0 / 1.076 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.356e-05/0.3348, allocations: 4 kB / 1.076 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.452e-05/0.3349, allocations: 4 kB / 1.076 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006482/0.3355, allocations: 247.5 kB / 1.076 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.3357, allocations: 71.88 kB / 1.076 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.877e-05/0.3357, allocations: 11.92 kB / 1.076 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.809e-05/0.3358, allocations: 39.91 kB / 1.076 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.799e-05/0.3358, allocations: 43.89 kB / 1.076 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.3359, allocations: 0 / 1.076 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004179/0.3363, allocations: 179.7 kB / 1.076 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.066e-05/0.3363, allocations: 15.91 kB / 1.076 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.736e-05/0.3364, allocations: 61.56 kB / 1.076 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.3368, allocations: 251.5 kB / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3368, allocations: 0 / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3368, allocations: 3.938 kB / 1.076 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.3369, allocations: 0 / 1.076 GB, free: 5.164 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004322/0.3373, allocations: 421.3 kB / 1.077 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.3374, allocations: 12.03 kB / 1.077 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.141e-05/0.3375, allocations: 80.22 kB / 1.077 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.3376, allocations: 255.5 kB / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.542e-05/0.3377, allocations: 154.9 kB / 1.077 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.836e-05/0.3378, allocations: 154.9 kB / 1.077 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.844e-05/0.3378, allocations: 113.1 kB / 1.078 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.3379, allocations: 79.22 kB / 1.078 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.758e-05/0.3379, allocations: 154.6 kB / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-05/0.338, allocations: 150.6 kB / 1.078 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.412e-05/0.338, allocations: 154.5 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.3384, allocations: 477.9 kB / 1.079 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.004e-05/0.3385, allocations: 165.1 kB / 1.079 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.967e-05/0.3385, allocations: 80.14 kB / 1.079 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.3385, allocations: 75.28 kB / 1.079 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.922e-05/0.3386, allocations: 121.7 kB / 1.079 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3386, allocations: 4 kB / 1.079 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 9.193e-05/0.3387, allocations: 37.59 kB / 1.079 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.3388, allocations: 130.7 kB / 1.079 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.3389, allocations: 137.8 kB / 1.079 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.339, allocations: 25.7 kB / 1.079 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.339, allocations: 100 kB / 1.079 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-06/0.339, allocations: 0 / 1.079 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.3391, allocations: 17.72 kB / 1.079 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.3392, allocations: 322.8 kB / 1.08 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.3393, allocations: 59.95 kB / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.564e-05/0.3394, allocations: 59.94 kB / 1.08 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.3396, allocations: 98.45 kB / 1.08 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3396, allocations: 0 / 1.08 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000374/0.3399, allocations: 227.2 kB / 1.08 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.265e-05/0.34, allocations: 41.69 kB / 1.08 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.34, allocations: 4 kB / 1.08 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.34, allocations: 0 / 1.08 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.34, allocations: 4.062 kB / 1.08 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.3401, allocations: 0 / 1.08 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.3404, allocations: 23.88 kB / 1.08 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.3404, allocations: 16 kB / 1.08 GB, free: 1.031 MB / 0.8262 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.0001289/0.3406, allocations: 193.1 kB / 1.08 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.332e-05/0.3406, allocations: 116.8 kB / 1.081 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.83e-05/0.3407, allocations: 120.3 kB / 1.081 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.552e-05/0.3407, allocations: 180.3 kB / 1.081 GB, free: 408 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-05/0.3408, allocations: 184.2 kB / 1.081 GB, free: 216 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.537e-05/0.3409, allocations: 184.2 kB / 1.081 GB, free: 24 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.3412, allocations: 413.2 kB / 1.082 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.562e-05/0.3412, allocations: 109 kB / 1.082 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.628e-05/0.3413, allocations: 112.9 kB / 1.082 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.829e-05/0.3413, allocations: 176.3 kB / 1.082 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.429e-05/0.3414, allocations: 176.3 kB / 1.082 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.128e-05/0.3415, allocations: 184.2 kB / 1.082 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.441e-05/0.3416, allocations: 184.2 kB / 1.082 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.3417, allocations: 311.7 kB / 1.083 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.629e-05/0.3418, allocations: 198 kB / 1.083 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.159e-05/0.3419, allocations: 184.2 kB / 1.083 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.447e-05/0.342, allocations: 105 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.3421, allocations: 188.2 kB / 1.083 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.895e-05/0.3422, allocations: 105 kB / 1.084 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.965e-05/0.3423, allocations: 105.5 kB / 1.084 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3423, allocations: 0 / 1.084 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003825/0.3427, allocations: 71.98 kB / 1.084 GB, free: 13.28 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0007798/0.3435, allocations: 399.3 kB / 1.084 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000285/0.3438, allocations: 211.3 kB / 1.084 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3438, allocations: 0 / 1.084 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.763e-06/0.3438, allocations: 11.94 kB / 1.084 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.3442, allocations: 0.5224 MB / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000352/0.3446, allocations: 240.7 kB / 1.085 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.3449, allocations: 0.6809 MB / 1.086 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.085e-05/0.345, allocations: 59.8 kB / 1.086 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.902e-05/0.345, allocations: 11.44 kB / 1.086 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.345, allocations: 3.938 kB / 1.086 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of Templates: time 0.005926/0.351, allocations: 2.562 MB / 1.088 GB, free: 8.609 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1)