Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7434/0.7434, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009769/0.000977, allocations: 182.1 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 221.3 MB / 441.4 MB, free: 4.656 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008879/0.0008878, allocations: 96.84 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00169/0.00169, allocations: 278.2 kB / 0.5939 GB, free: 7.992 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.519e-05/3.528e-05, allocations: 4 kB / 0.6834 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4147, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.552/3.966, allocations: 1.692 GB / 2.456 GB, free: 50.66 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/3.967, allocations: 90.78 kB / 2.457 GB, free: 50.62 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5326/4.499, allocations: 64.04 MB / 2.519 GB, free: 233.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.014e-06/4.499, allocations: 0 / 2.519 GB, free: 233.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001187/4.5, allocations: 36.34 kB / 2.519 GB, free: 233.3 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002246/4.502, allocations: 1.226 MB / 2.52 GB, free: 232.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/4.502, allocations: 7.781 kB / 2.52 GB, free: 232.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009825/4.503, allocations: 218.4 kB / 2.521 GB, free: 232.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/4.504, allocations: 0.7792 MB / 2.521 GB, free: 232.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.728e-05/4.504, allocations: 71.09 kB / 2.521 GB, free: 232.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/4.505, allocations: 90.97 kB / 2.521 GB, free: 232.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002444/4.507, allocations: 0.9307 MB / 2.522 GB, free: 232.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/4.507, allocations: 3.422 kB / 2.522 GB, free: 232.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/4.507, allocations: 38.69 kB / 2.522 GB, free: 232.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.566e-05/4.507, allocations: 23.25 kB / 2.522 GB, free: 232.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/4.51, allocations: 1.073 MB / 2.523 GB, free: 232.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004453/4.514, allocations: 2.738 MB / 2.526 GB, free: 231.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009091/4.515, allocations: 0.678 MB / 2.527 GB, free: 231.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000327/4.516, allocations: 248.7 kB / 2.527 GB, free: 231.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.916e-05/4.516, allocations: 32.81 kB / 2.527 GB, free: 231.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005819/4.516, allocations: 398.4 kB / 2.527 GB, free: 231.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=69): time 2.635e-06/4.516, allocations: 0 / 2.527 GB, free: 231.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=69): time 0.001558/4.518, allocations: 0.6892 MB / 2.528 GB, free: 231.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.289e-05/4.518, allocations: 242.6 kB / 2.528 GB, free: 230.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008495/4.519, allocations: 0.7098 MB / 2.529 GB, free: 230.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.064e-05/4.519, allocations: 39.02 kB / 2.529 GB, free: 230.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/4.519, allocations: 0.492 MB / 2.53 GB, free: 230.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/4.519, allocations: 225.1 kB / 2.53 GB, free: 230.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/4.519, allocations: 13.41 kB / 2.53 GB, free: 230.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.933e-05/4.519, allocations: 323.6 kB / 2.53 GB, free: 230.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/4.52, allocations: 194.2 kB / 2.53 GB, free: 230.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/4.52, allocations: 305.7 kB / 2.531 GB, free: 230 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/4.52, allocations: 255.7 kB / 2.531 GB, free: 230 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/4.52, allocations: 0 / 2.531 GB, free: 230 MB / 0.698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00132/4.522, allocations: 0.6896 MB / 2.532 GB, free: 229.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/4.522, allocations: 4.969 kB / 2.532 GB, free: 229.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/4.522, allocations: 3.656 kB / 2.532 GB, free: 229.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005769/4.522, allocations: 82.61 kB / 2.532 GB, free: 229.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005108/4.523, allocations: 129.6 kB / 2.532 GB, free: 229.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/4.525, allocations: 1.529 MB / 2.533 GB, free: 228.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006331/4.525, allocations: 86.75 kB / 2.533 GB, free: 228.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/4.525, allocations: 24.47 kB / 2.533 GB, free: 228.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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.0001644/4.526, allocations: 152 kB / 2.533 GB, free: 228.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/4.526, allocations: 90.81 kB / 2.534 GB, free: 228.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/4.528, allocations: 0.9473 MB / 2.534 GB, free: 228.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/4.528, allocations: 13.23 kB / 2.534 GB, free: 228.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/4.528, allocations: 0 / 2.534 GB, free: 228.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/4.528, allocations: 3.656 kB / 2.534 GB, free: 228.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/4.529, allocations: 0.9591 MB / 2.535 GB, free: 228.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/4.529, allocations: 0 / 2.535 GB, free: 228.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005046/4.529, allocations: 141.8 kB / 2.536 GB, free: 228.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004949/4.53, allocations: 83.69 kB / 2.536 GB, free: 228.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.279e-05/4.53, allocations: 19.97 kB / 2.536 GB, free: 228.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/4.531, allocations: 1.553 MB / 2.537 GB, free: 226.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/4.531, allocations: 2.031 kB / 2.537 GB, free: 226.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/4.533, allocations: 0.8065 MB / 2.538 GB, free: 226.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/4.533, allocations: 297 kB / 2.538 GB, free: 226.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/4.533, allocations: 14.41 kB / 2.538 GB, free: 226.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/4.534, allocations: 66.02 kB / 2.538 GB, free: 226.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/4.534, allocations: 55.75 kB / 2.538 GB, free: 226.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.007e-05/4.534, allocations: 30.86 kB / 2.538 GB, free: 226.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006518/4.535, allocations: 0.5734 MB / 2.539 GB, free: 226.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/4.535, allocations: 0 / 2.539 GB, free: 226.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001053/4.536, allocations: 385.8 kB / 2.539 GB, free: 226.3 MB / 0.698 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) * 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.001741/4.538, allocations: 1.019 MB / 2.54 GB, free: 226.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00116/4.539, allocations: 0.6594 MB / 2.541 GB, free: 226 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/4.539, allocations: 0 / 2.541 GB, free: 226 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006326/4.539, allocations: 462.9 kB / 2.541 GB, free: 225.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/4.541, allocations: 387.2 kB / 2.542 GB, free: 225.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003978/4.545, allocations: 1.516 MB / 2.543 GB, free: 225.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/4.546, allocations: 1.099 MB / 2.544 GB, free: 224.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001005/4.547, allocations: 273.3 kB / 2.545 GB, free: 224.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/4.547, allocations: 99.69 kB / 2.545 GB, free: 224.7 MB / 0.698 GB Notification: Performance of SimCode: time 9.31e-07/4.547, allocations: 4 kB / 2.545 GB, free: 224.7 MB / 0.698 GB Notification: Performance of Templates: time 0.03606/4.583, allocations: 23.93 MB / 2.568 GB, free: 219.2 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)