Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.792/1.792, allocations: 285.6 MB / 293.1 MB, free: 10.15 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.001452/0.001452, allocations: 192.7 kB / 361.4 MB, free: 6.789 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.802/1.802, allocations: 205.2 MB / 0.62 GB, free: 11.61 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.0008333/0.0008333, allocations: 93.78 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.913e-05/1.916e-05, allocations: 0 / 0.8518 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6896/0.6896, allocations: 115.3 MB / 0.9644 GB, free: 78.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.871/5.561, allocations: 2.072 GB / 3.037 GB, free: 42.92 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/5.561, allocations: 92.94 kB / 3.037 GB, free: 42.88 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.854/6.416, allocations: 61.6 MB / 3.097 GB, free: 318.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.605e-06/6.416, allocations: 1.094 kB / 3.097 GB, free: 318.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001181/6.416, allocations: 33.27 kB / 3.097 GB, free: 318.9 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.002176/6.418, allocations: 1.203 MB / 3.098 GB, free: 318.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/6.418, allocations: 9.844 kB / 3.098 GB, free: 318.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000997/6.419, allocations: 216.2 kB / 3.098 GB, free: 318.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/6.42, allocations: 0.7717 MB / 3.099 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.959e-05/6.42, allocations: 34.41 kB / 3.099 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/6.42, allocations: 52 kB / 3.099 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001866/6.422, allocations: 1.016 MB / 3.1 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/6.424, allocations: 0.7937 MB / 3.101 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/6.424, allocations: 1.5 kB / 3.101 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.217e-05/6.424, allocations: 1.094 kB / 3.101 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.7e-05/6.424, allocations: 26.12 kB / 3.101 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00498/6.429, allocations: 2.513 MB / 3.103 GB, free: 317 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009202/6.43, allocations: 0.6331 MB / 3.104 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003131/6.43, allocations: 233.8 kB / 3.104 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/6.43, allocations: 28.56 kB / 3.104 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007142/6.431, allocations: 382.4 kB / 3.105 GB, free: 316.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=69): time 3.507e-06/6.431, allocations: 1.312 kB / 3.105 GB, free: 316.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=69): time 0.001771/6.433, allocations: 0.6467 MB / 3.105 GB, free: 316.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/6.433, allocations: 245.6 kB / 3.106 GB, free: 316.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009602/6.434, allocations: 0.6036 MB / 3.106 GB, free: 316.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.995e-05/6.434, allocations: 26.45 kB / 3.106 GB, free: 316.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004257/6.435, allocations: 497.3 kB / 3.107 GB, free: 316.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/6.435, allocations: 216.5 kB / 3.107 GB, free: 315.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/6.435, allocations: 2.219 kB / 3.107 GB, free: 315.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000104/6.435, allocations: 329.6 kB / 3.107 GB, free: 315.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/6.435, allocations: 182.2 kB / 3.107 GB, free: 315.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/6.436, allocations: 283.2 kB / 3.108 GB, free: 315.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000468/6.436, allocations: 232.9 kB / 3.108 GB, free: 315.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/6.436, allocations: 0 / 3.108 GB, free: 315.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0018/6.438, allocations: 0.6515 MB / 3.108 GB, free: 315.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/6.438, allocations: 5.938 kB / 3.108 GB, free: 315.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/6.438, allocations: 6.375 kB / 3.108 GB, free: 315.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006583/6.439, allocations: 82.89 kB / 3.109 GB, free: 315.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000603/6.439, allocations: 134.5 kB / 3.109 GB, free: 315.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/6.441, allocations: 1.461 MB / 3.11 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006816/6.442, allocations: 57.14 kB / 3.11 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-05/6.442, allocations: 28.7 kB / 3.11 GB, free: 314.2 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.0001869/6.442, allocations: 120.2 kB / 3.11 GB, free: 314.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00159/6.444, allocations: 0.6487 MB / 3.111 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/6.444, allocations: 89.38 kB / 3.111 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002276/6.446, allocations: 0.8886 MB / 3.112 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/6.446, allocations: 8.625 kB / 3.112 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/6.446, allocations: 1.5 kB / 3.112 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/6.446, allocations: 5.203 kB / 3.112 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/6.448, allocations: 0.8228 MB / 3.113 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/6.448, allocations: 0 / 3.113 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005954/6.449, allocations: 138.2 kB / 3.113 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005964/6.449, allocations: 84.94 kB / 3.113 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.307e-05/6.449, allocations: 17.81 kB / 3.113 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/6.451, allocations: 1.492 MB / 3.114 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/6.451, allocations: 0.9375 kB / 3.114 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/6.453, allocations: 0.7532 MB / 3.115 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004847/6.454, allocations: 286.8 kB / 3.115 GB, free: 312.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/6.454, allocations: 9.906 kB / 3.115 GB, free: 312.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000525/6.454, allocations: 49.56 kB / 3.115 GB, free: 312.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/6.454, allocations: 58.34 kB / 3.116 GB, free: 312.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.516e-05/6.454, allocations: 31.92 kB / 3.116 GB, free: 312.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000845/6.455, allocations: 491.7 kB / 3.116 GB, free: 312 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.01e-07/6.455, allocations: 0 / 3.116 GB, free: 312 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001322/6.457, allocations: 325.2 kB / 3.116 GB, free: 311.9 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.004115/6.461, allocations: 2.243 MB / 3.119 GB, free: 311.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001559/6.462, allocations: 0.625 MB / 3.119 GB, free: 311 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/6.462, allocations: 1.031 kB / 3.119 GB, free: 311 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008211/6.463, allocations: 440.8 kB / 3.12 GB, free: 310.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/6.465, allocations: 350.6 kB / 3.12 GB, free: 310.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00527/6.471, allocations: 1.655 MB / 3.122 GB, free: 310.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009829/6.472, allocations: 1.102 MB / 3.123 GB, free: 309.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001186/6.473, allocations: 270.5 kB / 3.123 GB, free: 309.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007084/6.473, allocations: 428 kB / 3.123 GB, free: 309.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.423e-06/6.473, allocations: 1.25 kB / 3.123 GB, free: 309.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07885/6.552, allocations: 26.03 MB / 3.149 GB, free: 307.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/6.553, allocations: 194.9 kB / 3.149 GB, free: 307 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.97/9.522, allocations: 0 / 3.149 GB, free: 307 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)