Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.702/1.702, allocations: 297.8 MB / 313.7 MB, free: 160 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000967/0.0009668, allocations: 179 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.2 MB / 0.6626 GB, free: 4.27 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000775/0.0007747, allocations: 90.91 kB / 0.7808 GB, free: 50.31 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004101/0.0004104, allocations: 12 kB / 0.9088 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7245/0.725, allocations: 120.3 MB / 1.026 GB, free: 55.88 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.742/4.467, allocations: 1.724 GB / 2.75 GB, free: 117.1 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003315/4.467, allocations: 87.95 kB / 2.751 GB, free: 117 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.1361/4.603, allocations: 64.36 MB / 2.813 GB, free: 53 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.735e-06/4.603, allocations: 3.938 kB / 2.813 GB, free: 53 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001399/4.603, allocations: 32 kB / 2.813 GB, free: 52.96 MB / 0.9792 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.002852/4.606, allocations: 1.37 MB / 2.815 GB, free: 51.54 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/4.606, allocations: 12.03 kB / 2.815 GB, free: 51.52 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/4.607, allocations: 215.1 kB / 2.815 GB, free: 51.31 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/4.609, allocations: 0.8112 MB / 2.816 GB, free: 50.46 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.974e-05/4.609, allocations: 74.38 kB / 2.816 GB, free: 50.39 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/4.609, allocations: 88.38 kB / 2.816 GB, free: 50.3 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/4.611, allocations: 0.9658 MB / 2.817 GB, free: 49.3 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/4.611, allocations: 1.5 kB / 2.817 GB, free: 49.3 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.394e-05/4.611, allocations: 47.94 kB / 2.817 GB, free: 49.25 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/4.611, allocations: 20 kB / 2.817 GB, free: 49.23 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/4.612, allocations: 1.128 MB / 2.818 GB, free: 48.1 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004136/4.617, allocations: 2.737 MB / 2.821 GB, free: 45.29 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/4.618, allocations: 0.7139 MB / 2.821 GB, free: 44.57 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004099/4.618, allocations: 276.9 kB / 2.822 GB, free: 44.3 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 8.464e-05/4.618, allocations: 28.59 kB / 2.822 GB, free: 44.27 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006331/4.619, allocations: 417.8 kB / 2.822 GB, free: 43.84 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=69): time 3.557e-06/4.619, allocations: 4 kB / 2.822 GB, free: 43.84 MB / 0.9792 GB Notification: Performance of matching and sorting (n=69): time 0.002571/4.621, allocations: 1.089 MB / 2.823 GB, free: 42.72 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.686e-05/4.622, allocations: 247.8 kB / 2.823 GB, free: 42.42 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/4.623, allocations: 0.8156 MB / 2.824 GB, free: 41.6 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 7.893e-05/4.623, allocations: 41.7 kB / 2.824 GB, free: 41.55 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/4.623, allocations: 488 kB / 2.825 GB, free: 41.07 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/4.623, allocations: 240.6 kB / 2.825 GB, free: 40.83 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/4.623, allocations: 8 kB / 2.825 GB, free: 40.82 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.265e-05/4.624, allocations: 334 kB / 2.825 GB, free: 40.49 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/4.624, allocations: 217.1 kB / 2.825 GB, free: 40.28 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004616/4.624, allocations: 319.7 kB / 2.826 GB, free: 39.94 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008175/4.625, allocations: 0.5187 MB / 2.826 GB, free: 39.41 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/4.625, allocations: 0 / 2.826 GB, free: 39.41 MB / 0.9792 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001615/4.627, allocations: 0.7273 MB / 2.827 GB, free: 38.67 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/4.627, allocations: 7.938 kB / 2.827 GB, free: 38.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/4.627, allocations: 4 kB / 2.827 GB, free: 38.66 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000562/4.627, allocations: 84.83 kB / 2.827 GB, free: 38.57 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005079/4.628, allocations: 127.8 kB / 2.827 GB, free: 38.45 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/4.63, allocations: 1.528 MB / 2.829 GB, free: 36.78 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006681/4.63, allocations: 83.5 kB / 2.829 GB, free: 36.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.14e-05/4.631, allocations: 25.11 kB / 2.829 GB, free: 36.68 MB / 0.9792 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.0006697/4.631, allocations: 283.6 kB / 2.829 GB, free: 36.39 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/4.631, allocations: 90.88 kB / 2.829 GB, free: 36.3 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002154/4.634, allocations: 0.9866 MB / 2.83 GB, free: 35.31 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/4.634, allocations: 8 kB / 2.83 GB, free: 35.3 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/4.634, allocations: 5.938 kB / 2.83 GB, free: 35.3 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/4.634, allocations: 11.92 kB / 2.83 GB, free: 35.29 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/4.635, allocations: 0.9574 MB / 2.831 GB, free: 34.28 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.699e-06/4.635, allocations: 0 / 2.831 GB, free: 34.28 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004866/4.636, allocations: 139.8 kB / 2.831 GB, free: 34.14 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004547/4.636, allocations: 84.81 kB / 2.831 GB, free: 34.06 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.789e-05/4.636, allocations: 19.98 kB / 2.831 GB, free: 34.04 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001526/4.638, allocations: 1.563 MB / 2.833 GB, free: 32.34 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/4.638, allocations: 0 / 2.833 GB, free: 32.34 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/4.639, allocations: 0.8528 MB / 2.834 GB, free: 31.47 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004324/4.64, allocations: 295.5 kB / 2.834 GB, free: 31.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/4.64, allocations: 16 kB / 2.834 GB, free: 31.15 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005459/4.64, allocations: 67.94 kB / 2.834 GB, free: 31.08 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/4.641, allocations: 56.86 kB / 2.834 GB, free: 31.02 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.338e-05/4.641, allocations: 31.98 kB / 2.834 GB, free: 30.99 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0008066/4.641, allocations: 0.5771 MB / 2.835 GB, free: 30.42 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.61e-07/4.641, allocations: 4 kB / 2.835 GB, free: 30.41 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001187/4.643, allocations: 379 kB / 2.835 GB, free: 30.04 MB / 0.9792 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.002161/4.645, allocations: 1.068 MB / 2.836 GB, free: 29.24 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001414/4.646, allocations: 0.7162 MB / 2.837 GB, free: 28.52 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/4.646, allocations: 0 / 2.837 GB, free: 28.52 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000763/4.647, allocations: 476.3 kB / 2.837 GB, free: 28.04 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/4.649, allocations: 394.6 kB / 2.838 GB, free: 27.67 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004482/4.653, allocations: 2.395 MB / 2.84 GB, free: 25.24 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006912/4.654, allocations: 1.074 MB / 2.841 GB, free: 24.14 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001053/4.655, allocations: 284.9 kB / 2.841 GB, free: 23.9 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/4.655, allocations: 99.39 kB / 2.841 GB, free: 23.8 MB / 0.9792 GB Notification: Performance of SimCode: time 9.22e-07/4.655, allocations: 0 / 2.841 GB, free: 23.8 MB / 0.9792 GB Notification: Performance of Templates: time 0.03321/4.688, allocations: 22.53 MB / 2.863 GB, free: 1.473 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)