Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 81.97 kB / 21.47 MB, free: 3.035 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 163.8 kB / 24.86 MB, free: 9.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9544/0.9544, allocations: 177.2 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.949/1.949, allocations: 377.9 MB / 0.6247 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.[0-9,]+.|yI1.[0-9,]+.|yR2.[0-9,]+.|yI2.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.[0-9,]+.|yI1.[0-9,]+.|yR2.[0-9,]+.|yI2.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 1.094 kB / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.725e-05, allocations: 3.125 kB / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001314/0.001331, allocations: 0.5591 MB / 0.8133 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.002497, allocations: 1.324 MB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.002522, allocations: 1.594 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 8.534e-05/0.002607, allocations: 3.938 kB / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.359e-05/0.002651, allocations: 0 / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005009/0.003152, allocations: 286.3 kB / 0.8149 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.003264, allocations: 83.8 kB / 0.815 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 2.955e-05/0.003293, allocations: 0 / 0.815 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.153e-05/0.003345, allocations: 48.47 kB / 0.815 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.955e-05/0.003404, allocations: 47.83 kB / 0.8151 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.00342, allocations: 5.375 kB / 0.8151 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.003673, allocations: 223.5 kB / 0.8153 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.003698, allocations: 7.938 kB / 0.8153 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.003731, allocations: 21.14 kB / 0.8153 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.003998, allocations: 291.1 kB / 0.8156 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.004, allocations: 0 / 0.8156 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004, allocations: 1.312 kB / 0.8156 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.045e-06/0.004003, allocations: 4 kB / 0.8156 GB, free: 14.59 MB / 0.7761 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.0003064/0.00431, allocations: 469.7 kB / 0.816 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.631e-05/0.004336, allocations: 8.031 kB / 0.816 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.157e-05/0.004398, allocations: 133.4 kB / 0.8162 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.004504, allocations: 243.8 kB / 0.8164 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.87e-05/0.004563, allocations: 250.8 kB / 0.8166 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.109e-05/0.004624, allocations: 247.4 kB / 0.8169 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.079e-05/0.004675, allocations: 149.4 kB / 0.817 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.0047, allocations: 120.6 kB / 0.8171 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.816e-05/0.004748, allocations: 242.5 kB / 0.8174 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.862e-05/0.004797, allocations: 238.4 kB / 0.8176 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.914e-05/0.004846, allocations: 243.7 kB / 0.8178 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.005055, allocations: 0.5648 MB / 0.8184 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.528e-05/0.005131, allocations: 269.4 kB / 0.8186 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/0.005158, allocations: 126.9 kB / 0.8188 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.005183, allocations: 125 kB / 0.8189 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.005222, allocations: 156.6 kB / 0.819 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 5.41e-07/0.005223, allocations: 0 / 0.819 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.776e-05/0.005281, allocations: 37.66 kB / 0.8191 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.005329, allocations: 177.1 kB / 0.8192 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.005429, allocations: 208.5 kB / 0.8194 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.005444, allocations: 33.64 kB / 0.8195 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.005493, allocations: 138.9 kB / 0.8196 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.005495, allocations: 3.984 kB / 0.8196 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/0.005548, allocations: 47.36 kB / 0.8196 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.005662, allocations: 0.4962 MB / 0.8201 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.077e-05/0.005723, allocations: 58.17 kB / 0.8202 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.618e-05/0.005769, allocations: 58.2 kB / 0.8202 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.083e-05/0.00583, allocations: 65.38 kB / 0.8203 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.005832, allocations: 1.938 kB / 0.8203 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002212/0.006053, allocations: 204.9 kB / 0.8205 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.006081, allocations: 37.69 kB / 0.8205 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.006085, allocations: 3.984 kB / 0.8205 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/0.006093, allocations: 5.875 kB / 0.8205 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.006094, allocations: 0 / 0.8205 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.006097, allocations: 3.938 kB / 0.8205 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.974e-05/0.006196, allocations: 11.95 kB / 0.8206 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.006224, allocations: 23.97 kB / 0.8206 GB, free: 9.238 MB / 0.7761 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.192e-05/0.006316, allocations: 280.4 kB / 0.8208 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/0.006366, allocations: 152.8 kB / 0.821 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/0.006406, allocations: 161.2 kB / 0.8211 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-05/0.006462, allocations: 268.1 kB / 0.8214 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.707e-05/0.006519, allocations: 264.9 kB / 0.8217 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-05/0.006576, allocations: 276 kB / 0.8219 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.006732, allocations: 485.8 kB / 0.8224 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.533e-05/0.006767, allocations: 161 kB / 0.8225 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.0068, allocations: 152.9 kB / 0.8227 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.284e-05/0.006853, allocations: 268.1 kB / 0.8229 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-05/0.006907, allocations: 272.9 kB / 0.8232 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-05/0.006966, allocations: 264.1 kB / 0.8235 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.108e-05/0.007027, allocations: 271.1 kB / 0.8237 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.007146, allocations: 459.8 kB / 0.8241 GB, free: 5.441 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.007197, allocations: 152.9 kB / 0.8243 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.455e-05/0.007252, allocations: 264.1 kB / 0.8245 GB, free: 5.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.034e-05/0.007302, allocations: 148.8 kB / 0.8247 GB, free: 4.867 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.007354, allocations: 268.1 kB / 0.8249 GB, free: 4.598 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.007384, allocations: 152.8 kB / 0.8251 GB, free: 4.441 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.566e-05/0.007459, allocations: 143.2 kB / 0.8252 GB, free: 4.301 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00746, allocations: 2.469 kB / 0.8252 GB, free: 4.301 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002199/0.007679, allocations: 67.8 kB / 0.8253 GB, free: 4.234 MB / 0.7761 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.0006198/0.008299, allocations: 492.8 kB / 0.8258 GB, free: 3.836 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000134/0.008433, allocations: 144.8 kB / 0.8259 GB, free: 3.672 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.008434, allocations: 0.75 kB / 0.8259 GB, free: 3.672 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.008436, allocations: 0 / 0.8259 GB, free: 3.672 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.008699, allocations: 0.7152 MB / 0.8266 GB, free: 2.953 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001978/0.008897, allocations: 260.1 kB / 0.8268 GB, free: 2.672 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.807e-05/0.008925, allocations: 59.34 kB / 0.8269 GB, free: 2.594 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.799e-05/0.008973, allocations: 52.73 kB / 0.827 GB, free: 2.543 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.009074, allocations: 102.8 kB / 0.8271 GB, free: 2.441 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.009075, allocations: 0.6562 kB / 0.8271 GB, free: 2.441 MB / 0.7761 GB Notification: Performance of Templates: time 0.003929/0.013, allocations: 3.09 MB / 0.8301 GB, free: 15.39 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.1389874829910696]