Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.995/4.995, allocations: 0.5623 GB / 0.5769 GB, free: 3.34 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.00253/0.00253, allocations: 367.5 kB / 0.6441 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.112 GB, free: 6.008 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.001791/0.001791, allocations: 183.8 kB / 1.225 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004953/0.0004956, allocations: 12 kB / 1.348 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5825/0.583, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.00482/0.5879, allocations: 4.194 MB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1357/0.7237, allocations: 136.5 MB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009339/0.7247, allocations: 27.81 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000376/0.7251, allocations: 87.09 kB / 1.598 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001794/0.7269, allocations: 445.2 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002155/0.729, allocations: 0.6103 MB / 1.599 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001756/0.7308, allocations: 1.219 MB / 1.6 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009312/0.7318, allocations: 0.5593 MB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005476/0.7323, allocations: 322.3 kB / 1.601 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004106/0.7328, allocations: 349.9 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.676e-05/0.7329, allocations: 24 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006953/0.7336, allocations: 271.5 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.7338, allocations: 183.1 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.734, allocations: 217 kB / 1.602 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.7353, allocations: 1.22 MB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.438e-06/0.7353, allocations: 3.938 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.15e-06/0.7354, allocations: 0 / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.496e-05/0.7354, allocations: 0 / 1.604 GB, free: 138.1 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.002198/0.7376, allocations: 1.31 MB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.7376, allocations: 11.62 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.7387, allocations: 218.2 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.7403, allocations: 0.8127 MB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.943e-05/0.7404, allocations: 70 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.7405, allocations: 92 kB / 1.606 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/0.7425, allocations: 0.9574 MB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.7425, allocations: 3.984 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.7427, allocations: 36.52 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.7427, allocations: 24 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/0.745, allocations: 1.112 MB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00507/0.7501, allocations: 2.694 MB / 1.611 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.7517, allocations: 0.7021 MB / 1.611 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005947/0.7524, allocations: 274.4 kB / 1.612 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.049e-05/0.7525, allocations: 32.59 kB / 1.612 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008626/0.7533, allocations: 417.7 kB / 1.612 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=69): time 3.965e-06/0.7534, allocations: 4 kB / 1.612 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=69): time 0.003258/0.7566, allocations: 1.086 MB / 1.613 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.7567, allocations: 188.5 kB / 1.613 GB, free: 127.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.7578, allocations: 0.7278 MB / 1.614 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.651e-05/0.758, allocations: 41.7 kB / 1.614 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003791/0.7583, allocations: 488 kB / 1.615 GB, free: 126.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.7586, allocations: 236.6 kB / 1.615 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.7586, allocations: 12 kB / 1.615 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.923e-05/0.7587, allocations: 334 kB / 1.615 GB, free: 126 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006205/0.7593, allocations: 233.2 kB / 1.615 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006686/0.76, allocations: 323.3 kB / 1.616 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006422/0.7607, allocations: 271.1 kB / 1.616 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.565e-06/0.7607, allocations: 0 / 1.616 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002129/0.7628, allocations: 0.7858 MB / 1.617 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.7629, allocations: 8 kB / 1.617 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.7629, allocations: 0 / 1.617 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006555/0.7636, allocations: 80.88 kB / 1.617 GB, free: 124.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007901/0.7644, allocations: 147.8 kB / 1.617 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.7665, allocations: 1.528 MB / 1.618 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008702/0.7674, allocations: 83.14 kB / 1.618 GB, free: 122.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.7676, allocations: 31.98 kB / 1.618 GB, free: 122.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005623/0.7681, allocations: 283.9 kB / 1.619 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.7684, allocations: 102.7 kB / 1.619 GB, free: 122 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002709/0.7711, allocations: 0.9803 MB / 1.62 GB, free: 121 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.7711, allocations: 11.98 kB / 1.62 GB, free: 121 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.112e-06/0.7711, allocations: 3.938 kB / 1.62 GB, free: 121 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.7712, allocations: 5.625 kB / 1.62 GB, free: 121 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.7726, allocations: 0.9346 MB / 1.621 GB, free: 120 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.139e-06/0.7727, allocations: 0 / 1.621 GB, free: 120 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007609/0.7734, allocations: 135.8 kB / 1.621 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006096/0.7741, allocations: 84.77 kB / 1.621 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.94e-05/0.7742, allocations: 23.98 kB / 1.621 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/0.7762, allocations: 1.546 MB / 1.622 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.7762, allocations: 0 / 1.622 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/0.7784, allocations: 0.8529 MB / 1.623 GB, free: 117.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005026/0.7789, allocations: 283.6 kB / 1.624 GB, free: 116.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.7791, allocations: 16 kB / 1.624 GB, free: 116.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000669/0.7798, allocations: 71.89 kB / 1.624 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.7799, allocations: 56.92 kB / 1.624 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-05/0.78, allocations: 27.98 kB / 1.624 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0008005/0.7808, allocations: 0.5068 MB / 1.624 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.28e-07/0.7808, allocations: 0 / 1.624 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009688/0.7818, allocations: 291.1 kB / 1.625 GB, free: 115.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001737/0.7836, allocations: 0.5516 MB / 1.625 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001863/0.7855, allocations: 0.7433 MB / 1.626 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.242e-06/0.7855, allocations: 192 / 1.626 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.7866, allocations: 492.2 kB / 1.626 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/0.7886, allocations: 390.7 kB / 1.627 GB, free: 114 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004952/0.7936, allocations: 2.335 MB / 1.629 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000592/0.7943, allocations: 1.093 MB / 1.63 GB, free: 110.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001199/0.7955, allocations: 273.4 kB / 1.63 GB, free: 110.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003076/0.7958, allocations: 103.4 kB / 1.63 GB, free: 110.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.976e-06/0.7958, allocations: 0 / 1.63 GB, free: 110.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.03203/0.8279, allocations: 14.39 MB / 1.644 GB, free: 96 MB / 0.8542 GB