Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.675/1.675, allocations: 289.7 MB / 302.2 MB, free: 2.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 178.4 kB / 371.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008749/0.0008749, allocations: 90.53 kB / 0.745 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.337e-05/3.34e-05, allocations: 4 kB / 0.8662 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3358, allocations: 116.3 MB / 0.9798 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.504/6.84, allocations: 2.074 GB / 3.054 GB, free: 127.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/6.84, allocations: 92.11 kB / 3.054 GB, free: 127.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1296/6.97, allocations: 63.54 MB / 3.116 GB, free: 71.52 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.044e-06/6.97, allocations: 4 kB / 3.116 GB, free: 71.52 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001075/6.97, allocations: 35.94 kB / 3.116 GB, free: 71.48 MB / 0.948 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.001866/6.972, allocations: 1.2 MB / 3.117 GB, free: 70.23 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/6.972, allocations: 8.031 kB / 3.117 GB, free: 70.23 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009147/6.973, allocations: 218.2 kB / 3.117 GB, free: 70.01 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/6.974, allocations: 0.7717 MB / 3.118 GB, free: 69.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.471e-05/6.974, allocations: 74 kB / 3.118 GB, free: 69.12 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/6.975, allocations: 84 kB / 3.118 GB, free: 69.04 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/6.976, allocations: 0.9276 MB / 3.119 GB, free: 68.08 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/6.976, allocations: 0 / 3.119 GB, free: 68.08 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.399e-05/6.976, allocations: 36 kB / 3.119 GB, free: 68.04 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/6.976, allocations: 24 kB / 3.119 GB, free: 68.02 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/6.977, allocations: 1.069 MB / 3.12 GB, free: 66.95 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003574/6.981, allocations: 2.702 MB / 3.123 GB, free: 64.18 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008201/6.982, allocations: 0.6678 MB / 3.123 GB, free: 63.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/6.982, allocations: 255.4 kB / 3.124 GB, free: 63.25 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.698e-05/6.982, allocations: 36.58 kB / 3.124 GB, free: 63.21 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00057/6.983, allocations: 393.9 kB / 3.124 GB, free: 62.81 MB / 0.948 GB Notification: Performance of pre-optimization done (n=69): time 3.246e-06/6.983, allocations: 0 / 3.124 GB, free: 62.81 MB / 0.948 GB Notification: Performance of matching and sorting (n=69): time 0.001403/6.984, allocations: 0.6871 MB / 3.125 GB, free: 62.11 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/6.984, allocations: 243.9 kB / 3.125 GB, free: 61.82 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007517/6.985, allocations: 0.6999 MB / 3.126 GB, free: 61.12 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/6.985, allocations: 37.7 kB / 3.126 GB, free: 61.07 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/6.985, allocations: 488 kB / 3.126 GB, free: 60.59 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/6.985, allocations: 228.6 kB / 3.126 GB, free: 60.36 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/6.985, allocations: 17.69 kB / 3.126 GB, free: 60.35 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.885e-05/6.985, allocations: 333.9 kB / 3.127 GB, free: 60.02 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/6.986, allocations: 189.5 kB / 3.127 GB, free: 59.83 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/6.986, allocations: 301 kB / 3.127 GB, free: 59.51 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/6.986, allocations: 246 kB / 3.127 GB, free: 59.27 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/6.986, allocations: 0 / 3.127 GB, free: 59.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00125/6.988, allocations: 0.6835 MB / 3.128 GB, free: 58.57 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/6.988, allocations: 8 kB / 3.128 GB, free: 58.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/6.988, allocations: 0 / 3.128 GB, free: 58.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005686/6.988, allocations: 88.78 kB / 3.128 GB, free: 58.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/6.989, allocations: 131.8 kB / 3.128 GB, free: 58.35 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/6.99, allocations: 1.537 MB / 3.13 GB, free: 56.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/6.991, allocations: 79.44 kB / 3.13 GB, free: 56.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.752e-05/6.991, allocations: 27.97 kB / 3.13 GB, free: 56.56 MB / 0.948 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.0001339/6.991, allocations: 141 kB / 3.13 GB, free: 56.41 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/6.991, allocations: 98.72 kB / 3.13 GB, free: 56.32 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/6.993, allocations: 0.9357 MB / 3.131 GB, free: 55.37 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/6.993, allocations: 8.094 kB / 3.131 GB, free: 55.36 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/6.993, allocations: 9.109 kB / 3.131 GB, free: 55.35 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/6.993, allocations: 7.984 kB / 3.131 GB, free: 55.34 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009084/6.994, allocations: 0.954 MB / 3.132 GB, free: 54.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/6.994, allocations: 7.891 kB / 3.132 GB, free: 54.33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005098/6.995, allocations: 131.9 kB / 3.132 GB, free: 54.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004626/6.995, allocations: 88.7 kB / 3.132 GB, free: 54.11 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.236e-05/6.995, allocations: 19.98 kB / 3.132 GB, free: 54.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/6.996, allocations: 1.556 MB / 3.134 GB, free: 52.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/6.996, allocations: 0 / 3.134 GB, free: 52.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/6.998, allocations: 0.8003 MB / 3.135 GB, free: 51.57 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003566/6.998, allocations: 295.5 kB / 3.135 GB, free: 51.26 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-05/6.998, allocations: 16 kB / 3.135 GB, free: 51.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004922/6.999, allocations: 69.64 kB / 3.135 GB, free: 51.18 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/6.999, allocations: 56.69 kB / 3.135 GB, free: 51.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.946e-05/6.999, allocations: 27.98 kB / 3.135 GB, free: 51.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006194/7, allocations: 0.5577 MB / 3.136 GB, free: 50.54 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/7, allocations: 0 / 3.136 GB, free: 50.54 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009854/7.001, allocations: 347 kB / 3.136 GB, free: 50.2 MB / 0.948 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/7.002, allocations: 0.9898 MB / 3.137 GB, free: 49.32 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001129/7.003, allocations: 0.659 MB / 3.137 GB, free: 48.65 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/7.003, allocations: 4.125 kB / 3.137 GB, free: 48.64 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006084/7.004, allocations: 462.9 kB / 3.138 GB, free: 48.18 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/7.006, allocations: 389.8 kB / 3.138 GB, free: 47.81 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/7.009, allocations: 1.501 MB / 3.14 GB, free: 46.28 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/7.009, allocations: 1.086 MB / 3.141 GB, free: 45.16 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007628/7.01, allocations: 282.9 kB / 3.141 GB, free: 44.88 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/7.01, allocations: 103.4 kB / 3.141 GB, free: 44.78 MB / 0.948 GB Notification: Performance of SimCode: time 2.6e-07/7.01, allocations: 0 / 3.141 GB, free: 44.78 MB / 0.948 GB Notification: Performance of Templates: time 0.02988/7.04, allocations: 23.52 MB / 3.164 GB, free: 21.32 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)