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.8994/0.8994, allocations: 143.4 MB / 158.3 MB, free: 5.801 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 177 kB / 191.5 MB, free: 5.758 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.701/1.701, allocations: 223.2 MB / 447.7 MB, free: 4.805 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.0009219/0.0009218, allocations: 92.31 kB / 0.5188 GB, free: 1.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00173/0.00173, allocations: 273.2 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.000401, allocations: 16.47 kB / 0.6929 GB, free: 59.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1636, allocations: 82.79 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.872/4.036, allocations: 1.692 GB / 2.466 GB, free: 61.71 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/4.036, allocations: 95.14 kB / 2.466 GB, free: 61.66 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1335/4.17, allocations: 64.33 MB / 2.529 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.535e-06/4.17, allocations: 4 kB / 2.529 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.63e-05/4.17, allocations: 35.98 kB / 2.529 GB, free: 7.312 MB / 0.7136 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.002078/4.172, allocations: 1.383 MB / 2.53 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/4.172, allocations: 12.83 kB / 2.53 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008323/4.173, allocations: 212.6 kB / 2.531 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/4.174, allocations: 0.7869 MB / 2.531 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.533e-05/4.174, allocations: 70.19 kB / 2.531 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/4.174, allocations: 91.06 kB / 2.531 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/4.176, allocations: 0.9603 MB / 2.532 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/4.176, allocations: 0 / 2.532 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.169e-05/4.176, allocations: 41.88 kB / 2.532 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/4.176, allocations: 27.98 kB / 2.532 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/4.178, allocations: 1.124 MB / 2.534 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003656/4.181, allocations: 2.734 MB / 2.536 GB, free: 376 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3906/4.572, allocations: 0.7074 MB / 2.537 GB, free: 230.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/4.572, allocations: 31.02 kB / 2.537 GB, free: 230.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007666/4.573, allocations: 417.1 kB / 2.537 GB, free: 230.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=69): time 2.915e-06/4.573, allocations: 0 / 2.537 GB, free: 230.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69): time 0.00309/4.576, allocations: 1.092 MB / 2.538 GB, free: 230.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/4.576, allocations: 244 kB / 2.539 GB, free: 230 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/4.577, allocations: 0.7207 MB / 2.539 GB, free: 229.9 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.852e-05/4.577, allocations: 38.64 kB / 2.539 GB, free: 229.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005144/4.578, allocations: 498.7 kB / 2.54 GB, free: 229.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/4.578, allocations: 226.6 kB / 2.54 GB, free: 229.6 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/4.578, allocations: 14.16 kB / 2.54 GB, free: 229.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001255/4.578, allocations: 327.9 kB / 2.54 GB, free: 229.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004257/4.579, allocations: 213.7 kB / 2.541 GB, free: 229.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005136/4.579, allocations: 321 kB / 2.541 GB, free: 229.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004746/4.58, allocations: 261.4 kB / 2.541 GB, free: 229.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/4.58, allocations: 3.5 kB / 2.541 GB, free: 229.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001618/4.581, allocations: 0.7288 MB / 2.542 GB, free: 229.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/4.581, allocations: 5.906 kB / 2.542 GB, free: 229.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/4.581, allocations: 0 / 2.542 GB, free: 229.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006215/4.582, allocations: 89.81 kB / 2.542 GB, free: 229.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/4.583, allocations: 123.5 kB / 2.542 GB, free: 229.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/4.584, allocations: 1.553 MB / 2.544 GB, free: 227.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005695/4.585, allocations: 79.44 kB / 2.544 GB, free: 227.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.499e-05/4.585, allocations: 29.53 kB / 2.544 GB, free: 227.8 MB / 0.7136 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 () * Number of clocked 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.0005/4.586, allocations: 281.6 kB / 2.544 GB, free: 227.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/4.586, allocations: 96.88 kB / 2.544 GB, free: 227.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/4.588, allocations: 0.9879 MB / 2.545 GB, free: 227.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/4.588, allocations: 8.25 kB / 2.545 GB, free: 227.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/4.588, allocations: 1.875 kB / 2.545 GB, free: 227.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/4.588, allocations: 4.219 kB / 2.545 GB, free: 227.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/4.589, allocations: 0.9671 MB / 2.546 GB, free: 227.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/4.589, allocations: 3.688 kB / 2.546 GB, free: 227.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005364/4.59, allocations: 138.6 kB / 2.546 GB, free: 227.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005409/4.59, allocations: 87.52 kB / 2.546 GB, free: 227.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.462e-05/4.591, allocations: 20.78 kB / 2.546 GB, free: 227.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/4.592, allocations: 1.573 MB / 2.548 GB, free: 226 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/4.592, allocations: 2.562 kB / 2.548 GB, free: 226 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/4.594, allocations: 0.8445 MB / 2.549 GB, free: 225.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004905/4.595, allocations: 302.3 kB / 2.549 GB, free: 225.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/4.595, allocations: 20.7 kB / 2.549 GB, free: 225.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006016/4.595, allocations: 70.11 kB / 2.549 GB, free: 225.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/4.595, allocations: 58.97 kB / 2.549 GB, free: 225.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-05/4.596, allocations: 30.52 kB / 2.549 GB, free: 225.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008414/4.596, allocations: 0.5779 MB / 2.55 GB, free: 225.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.11e-07/4.596, allocations: 0 / 2.55 GB, free: 225.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001284/4.598, allocations: 379.3 kB / 2.55 GB, free: 225.6 MB / 0.7136 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.002748/4.6, allocations: 1.055 MB / 2.551 GB, free: 225.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001983/4.602, allocations: 0.711 MB / 2.552 GB, free: 225.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/4.602, allocations: 0.7812 kB / 2.552 GB, free: 225.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/4.604, allocations: 483.9 kB / 2.552 GB, free: 225.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/4.606, allocations: 387.4 kB / 2.553 GB, free: 225.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005364/4.611, allocations: 2.395 MB / 2.555 GB, free: 224.1 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008627/4.612, allocations: 1.102 MB / 2.556 GB, free: 223.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001262/4.613, allocations: 279.1 kB / 2.556 GB, free: 223.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/4.613, allocations: 102.4 kB / 2.556 GB, free: 223.3 MB / 0.7136 GB Notification: Performance of SimCode: time 8.51e-07/4.613, allocations: 0 / 2.556 GB, free: 223.3 MB / 0.7136 GB Notification: Performance of Templates: time 0.03768/4.651, allocations: 22.27 MB / 2.578 GB, free: 221.7 MB / 0.7136 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)