Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001409/0.001408, allocations: 186 kB / 15.76 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.6923/0.6923, allocations: 82.92 MB / 99.42 MB, free: 3.293 MB / 74.73 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.316/2.316, allocations: 205.4 MB / 325.4 MB, free: 3.344 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 98.86 kB / 393.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004497/0.0004499, allocations: 15.98 kB / 471.5 MB, free: 66.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08983/0.09031, allocations: 67.44 MB / 0.5263 GB, free: 15.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006591/0.09694, allocations: 4.135 MB / 0.5304 GB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.4906/0.5876, allocations: 127.5 MB / 0.6549 GB, free: 5.59 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008489/0.5885, allocations: 24.94 kB / 0.6549 GB, free: 5.578 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004102/0.5889, allocations: 87.42 kB / 0.655 GB, free: 5.5 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001918/0.5909, allocations: 0.4897 MB / 0.6554 GB, free: 5.121 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.5931, allocations: 0.5991 MB / 0.656 GB, free: 4.707 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001997/0.5951, allocations: 0.9618 MB / 0.657 GB, free: 4.07 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.5962, allocations: 0.5658 MB / 0.6575 GB, free: 3.742 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006278/0.5968, allocations: 329.3 kB / 0.6578 GB, free: 3.559 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005219/0.5973, allocations: 327.9 kB / 0.6581 GB, free: 3.348 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.5975, allocations: 27.25 kB / 0.6582 GB, free: 3.344 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007944/0.5983, allocations: 250.7 kB / 0.6584 GB, free: 3.242 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002649/0.5986, allocations: 178.9 kB / 0.6586 GB, free: 3.125 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002791/0.5989, allocations: 217.1 kB / 0.6588 GB, free: 2.969 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001823/0.6007, allocations: 1.219 MB / 0.66 GB, free: 2.074 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.766e-06/0.6007, allocations: 0 / 0.66 GB, free: 2.074 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.302e-06/0.6007, allocations: 0 / 0.66 GB, free: 2.074 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.6008, allocations: 0 / 0.66 GB, free: 2.074 MB / 442.7 MB 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.002635/0.6034, allocations: 1.321 MB / 0.6613 GB, free: 1.004 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.6035, allocations: 8.25 kB / 0.6613 GB, free: 1.004 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.6046, allocations: 218.4 kB / 0.6615 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.6063, allocations: 0.8145 MB / 0.6623 GB, free: 252 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.442e-05/0.6064, allocations: 71.83 kB / 0.6623 GB, free: 216 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.6065, allocations: 91.94 kB / 0.6624 GB, free: 184 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.6087, allocations: 0.9444 MB / 0.6634 GB, free: 15.57 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.6088, allocations: 0 / 0.6634 GB, free: 15.57 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.6089, allocations: 36.12 kB / 0.6634 GB, free: 15.54 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.6089, allocations: 23.16 kB / 0.6634 GB, free: 15.54 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002427/0.6113, allocations: 1.115 MB / 0.6645 GB, free: 15.01 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005627/0.617, allocations: 2.691 MB / 0.6671 GB, free: 12.99 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.6187, allocations: 0.7063 MB / 0.6678 GB, free: 12.64 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.043e-05/0.6188, allocations: 36.89 kB / 0.6679 GB, free: 12.62 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009871/0.6198, allocations: 416.1 kB / 0.6682 GB, free: 12.35 MB / 458.7 MB Notification: Performance of pre-optimization done (n=69): time 3.666e-06/0.6198, allocations: 0 / 0.6682 GB, free: 12.35 MB / 458.7 MB Notification: Performance of matching and sorting (n=69): time 0.003544/0.6234, allocations: 1.093 MB / 0.6693 GB, free: 11.74 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.6236, allocations: 187.9 kB / 0.6695 GB, free: 11.52 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.6248, allocations: 0.7295 MB / 0.6702 GB, free: 11.11 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.823e-05/0.6249, allocations: 36.55 kB / 0.6702 GB, free: 11.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005386/0.6255, allocations: 0.4906 MB / 0.6707 GB, free: 10.63 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002576/0.6257, allocations: 224.9 kB / 0.6709 GB, free: 10.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.6258, allocations: 14.84 kB / 0.671 GB, free: 10.42 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.626, allocations: 331 kB / 0.6713 GB, free: 10.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006034/0.6266, allocations: 211.1 kB / 0.6715 GB, free: 9.996 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007076/0.6273, allocations: 319.4 kB / 0.6718 GB, free: 9.785 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006666/0.628, allocations: 262 kB / 0.672 GB, free: 9.652 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.5e-06/0.6281, allocations: 4 kB / 0.672 GB, free: 9.648 MB / 458.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002253/0.6303, allocations: 0.7297 MB / 0.6727 GB, free: 9.082 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.6304, allocations: 7.938 kB / 0.6727 GB, free: 9.074 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.6304, allocations: 4 kB / 0.6727 GB, free: 9.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006858/0.6311, allocations: 84.86 kB / 0.6728 GB, free: 8.984 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007651/0.6319, allocations: 127.9 kB / 0.673 GB, free: 8.859 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/0.6346, allocations: 1.54 MB / 0.6745 GB, free: 7.184 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008259/0.6354, allocations: 83.42 kB / 0.6745 GB, free: 7.102 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.788e-05/0.6355, allocations: 28.73 kB / 0.6746 GB, free: 7.074 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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.0006494/0.6362, allocations: 273.6 kB / 0.6748 GB, free: 6.797 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.6364, allocations: 102.8 kB / 0.6749 GB, free: 6.695 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/0.6394, allocations: 0.984 MB / 0.6759 GB, free: 5.699 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.6394, allocations: 8 kB / 0.6759 GB, free: 5.691 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.566e-06/0.6395, allocations: 0 / 0.6759 GB, free: 5.691 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-05/0.6395, allocations: 11.94 kB / 0.6759 GB, free: 5.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.6411, allocations: 0.927 MB / 0.6768 GB, free: 4.699 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.663e-06/0.6412, allocations: 8 kB / 0.6768 GB, free: 4.691 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007713/0.642, allocations: 131.8 kB / 0.6769 GB, free: 4.562 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006758/0.6427, allocations: 84.77 kB / 0.677 GB, free: 4.477 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.461e-05/0.6427, allocations: 23.98 kB / 0.677 GB, free: 4.453 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002579/0.6453, allocations: 1.564 MB / 0.6786 GB, free: 2.75 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.598e-06/0.6454, allocations: 12.11 kB / 0.6786 GB, free: 2.738 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00294/0.6483, allocations: 0.8451 MB / 0.6794 GB, free: 1.871 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000644/0.649, allocations: 283.5 kB / 0.6797 GB, free: 1.574 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.6492, allocations: 19.95 kB / 0.6797 GB, free: 1.555 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007071/0.6499, allocations: 75.88 kB / 0.6798 GB, free: 1.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.6501, allocations: 56.86 kB / 0.6798 GB, free: 1.426 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.754e-05/0.6502, allocations: 31.98 kB / 0.6799 GB, free: 1.395 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009859/0.6512, allocations: 0.5107 MB / 0.6804 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.68e-07/0.6512, allocations: 0 / 0.6804 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001056/0.6523, allocations: 291.1 kB / 0.6806 GB, free: 0.6016 MB / 458.7 MB 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.001828/0.6541, allocations: 0.5558 MB / 0.6812 GB, free: 192 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002036/0.6562, allocations: 0.7088 MB / 0.6819 GB, free: 15.47 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.264e-06/0.6562, allocations: 0 / 0.6819 GB, free: 15.47 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.6574, allocations: 496.2 kB / 0.6823 GB, free: 14.97 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/0.6592, allocations: 381.9 kB / 0.6827 GB, free: 14.61 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005723/0.665, allocations: 2.337 MB / 0.685 GB, free: 12.24 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009894/0.666, allocations: 1.09 MB / 0.6861 GB, free: 11.12 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001316/0.6673, allocations: 271 kB / 0.6863 GB, free: 10.85 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003358/0.6677, allocations: 107.4 kB / 0.6864 GB, free: 10.75 MB / 474.7 MB Notification: Performance of SimCode: time 1.493e-06/0.6677, allocations: 0 / 0.6864 GB, free: 10.75 MB / 474.7 MB Notification: Performance of Templates: time 0.03801/0.7057, allocations: 14.39 MB / 0.7005 GB, free: 12.46 MB / 490.7 MB