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.7943/0.7943, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001103/0.001103, allocations: 175.9 kB / 182.2 MB, free: 9.453 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.476/1.476, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.00103/0.00103, allocations: 94.84 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001824/0.001824, allocations: 274.9 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.054e-05/2.056e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4138, allocations: 82.78 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.563/3.977, allocations: 1.692 GB / 2.449 GB, free: 94.78 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/3.977, allocations: 95.81 kB / 2.449 GB, free: 94.69 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1302/4.107, allocations: 63.16 MB / 2.511 GB, free: 31.24 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.353e-06/4.107, allocations: 0 / 2.511 GB, free: 31.24 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.664e-05/4.108, allocations: 31.94 kB / 2.511 GB, free: 31.21 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.001677/4.109, allocations: 1.227 MB / 2.512 GB, free: 29.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/4.109, allocations: 12.03 kB / 2.512 GB, free: 29.92 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00081/4.11, allocations: 218.1 kB / 2.512 GB, free: 29.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009835/4.111, allocations: 0.7756 MB / 2.513 GB, free: 28.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/4.111, allocations: 32 kB / 2.513 GB, free: 28.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.712e-05/4.111, allocations: 52 kB / 2.513 GB, free: 28.81 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00122/4.112, allocations: 1.023 MB / 2.514 GB, free: 27.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/4.114, allocations: 0.7975 MB / 2.515 GB, free: 26.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/4.114, allocations: 3.938 kB / 2.515 GB, free: 26.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.595e-05/4.114, allocations: 4 kB / 2.515 GB, free: 26.94 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/4.114, allocations: 24 kB / 2.515 GB, free: 26.92 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003177/4.117, allocations: 2.547 MB / 2.517 GB, free: 24.31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007983/4.118, allocations: 0.6301 MB / 2.518 GB, free: 23.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/4.118, allocations: 238.4 kB / 2.518 GB, free: 23.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.967e-05/4.118, allocations: 32.58 kB / 2.518 GB, free: 23.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005335/4.119, allocations: 380.7 kB / 2.519 GB, free: 23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=69): time 2.515e-06/4.119, allocations: 0 / 2.519 GB, free: 23 MB / 0.698 GB Notification: Performance of matching and sorting (n=69): time 0.001335/4.12, allocations: 0.6442 MB / 2.519 GB, free: 22.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/4.12, allocations: 243.9 kB / 2.519 GB, free: 22.06 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006498/4.121, allocations: 0.6097 MB / 2.52 GB, free: 21.44 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.785e-05/4.121, allocations: 29.7 kB / 2.52 GB, free: 21.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/4.121, allocations: 499.7 kB / 2.52 GB, free: 20.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/4.121, allocations: 216.7 kB / 2.521 GB, free: 20.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/4.121, allocations: 0 / 2.521 GB, free: 20.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.769e-05/4.121, allocations: 333.9 kB / 2.521 GB, free: 20.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/4.122, allocations: 181.5 kB / 2.521 GB, free: 20.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/4.122, allocations: 287.5 kB / 2.521 GB, free: 19.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/4.122, allocations: 228.5 kB / 2.522 GB, free: 19.65 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/4.122, allocations: 0 / 2.522 GB, free: 19.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001205/4.123, allocations: 0.6445 MB / 2.522 GB, free: 19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/4.123, allocations: 8.625 kB / 2.522 GB, free: 18.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/4.123, allocations: 0 / 2.522 GB, free: 18.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005744/4.124, allocations: 88.77 kB / 2.522 GB, free: 18.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005092/4.125, allocations: 131.9 kB / 2.523 GB, free: 18.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/4.126, allocations: 1.469 MB / 2.524 GB, free: 17.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/4.127, allocations: 67.55 kB / 2.524 GB, free: 17.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/4.127, allocations: 27.98 kB / 2.524 GB, free: 17.08 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.000136/4.127, allocations: 112.9 kB / 2.524 GB, free: 16.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/4.127, allocations: 86.97 kB / 2.524 GB, free: 16.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/4.129, allocations: 0.8965 MB / 2.525 GB, free: 15.97 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/4.129, allocations: 8.094 kB / 2.525 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/4.129, allocations: 3.984 kB / 2.525 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/4.129, allocations: 3.984 kB / 2.525 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008311/4.129, allocations: 0.8181 MB / 2.526 GB, free: 15.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/4.129, allocations: 0 / 2.526 GB, free: 15.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005738/4.13, allocations: 139.8 kB / 2.526 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006971/4.131, allocations: 80.78 kB / 2.526 GB, free: 14.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.206e-05/4.131, allocations: 15.98 kB / 2.526 GB, free: 14.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/4.132, allocations: 1.496 MB / 2.528 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/4.132, allocations: 0 / 2.528 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/4.134, allocations: 0.7541 MB / 2.528 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/4.134, allocations: 299.5 kB / 2.529 GB, free: 12.15 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/4.134, allocations: 0 / 2.529 GB, free: 12.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005668/4.135, allocations: 51.95 kB / 2.529 GB, free: 12.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/4.135, allocations: 56.69 kB / 2.529 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.836e-05/4.135, allocations: 31.98 kB / 2.529 GB, free: 12.01 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005388/4.136, allocations: 491.1 kB / 2.529 GB, free: 11.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.5e-07/4.136, allocations: 0 / 2.529 GB, free: 11.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001156/4.137, allocations: 350.9 kB / 2.53 GB, free: 11.2 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.001867/4.139, allocations: 1.081 MB / 2.531 GB, free: 10.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001135/4.14, allocations: 0.6283 MB / 2.531 GB, free: 9.547 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/4.14, allocations: 0 / 2.531 GB, free: 9.547 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006207/4.14, allocations: 436.5 kB / 2.532 GB, free: 9.109 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/4.142, allocations: 355.5 kB / 2.532 GB, free: 8.766 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/4.146, allocations: 1.471 MB / 2.533 GB, free: 7.266 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/4.146, allocations: 1.093 MB / 2.534 GB, free: 6.145 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008154/4.147, allocations: 274.5 kB / 2.535 GB, free: 5.871 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/4.147, allocations: 95.39 kB / 2.535 GB, free: 5.777 MB / 0.698 GB Notification: Performance of SimCode: time 1.173e-06/4.147, allocations: 3.938 kB / 2.535 GB, free: 5.773 MB / 0.698 GB Notification: Performance of Templates: time 0.4113/4.558, allocations: 17.27 MB / 2.552 GB, free: 223.5 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)