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.646/1.646, allocations: 285.4 MB / 298 MB, free: 5.984 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.001191/0.001191, allocations: 176.9 kB / 366.4 MB, free: 2.074 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.751/1.751, allocations: 205.1 MB / 0.6248 GB, free: 7.715 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.0008181/0.0008181, allocations: 99.67 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.495e-05/4.51e-05, allocations: 0 / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7777/0.7778, allocations: 115.3 MB / 0.971 GB, free: 77.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.788/5.566, allocations: 2.073 GB / 3.044 GB, free: 20.96 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/5.566, allocations: 93.2 kB / 3.044 GB, free: 20.92 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8781/6.444, allocations: 62.46 MB / 3.105 GB, free: 328.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.923e-06/6.444, allocations: 0 / 3.105 GB, free: 328.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000129/6.445, allocations: 33.06 kB / 3.105 GB, free: 328.4 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.002324/6.447, allocations: 1.211 MB / 3.106 GB, free: 327.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/6.447, allocations: 8.656 kB / 3.106 GB, free: 327.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001867/6.447, allocations: 147.7 kB / 3.106 GB, free: 327.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009789/6.448, allocations: 220.7 kB / 3.107 GB, free: 327.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/6.45, allocations: 0.7617 MB / 3.107 GB, free: 326.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-05/6.45, allocations: 67.62 kB / 3.107 GB, free: 326.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/6.45, allocations: 87.06 kB / 3.107 GB, free: 326.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/6.452, allocations: 0.9184 MB / 3.108 GB, free: 326.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/6.452, allocations: 0 / 3.108 GB, free: 326.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-05/6.452, allocations: 37.62 kB / 3.108 GB, free: 326.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/6.452, allocations: 27.22 kB / 3.108 GB, free: 326.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/6.454, allocations: 1.072 MB / 3.109 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004507/6.458, allocations: 2.697 MB / 3.112 GB, free: 324.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/6.459, allocations: 0.6742 MB / 3.113 GB, free: 324.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004474/6.46, allocations: 258.5 kB / 3.113 GB, free: 324.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/6.46, allocations: 33.62 kB / 3.113 GB, free: 324.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006864/6.461, allocations: 399.1 kB / 3.113 GB, free: 324.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=69): time 3.026e-06/6.461, allocations: 0 / 3.113 GB, free: 324.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=69): time 0.001774/6.463, allocations: 0.6868 MB / 3.114 GB, free: 323.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/6.463, allocations: 240.8 kB / 3.114 GB, free: 323.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/6.464, allocations: 0.697 MB / 3.115 GB, free: 323.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.552e-05/6.464, allocations: 42.11 kB / 3.115 GB, free: 323.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003601/6.464, allocations: 490.1 kB / 3.115 GB, free: 322.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/6.464, allocations: 223.1 kB / 3.116 GB, free: 322.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/6.464, allocations: 15.16 kB / 3.116 GB, free: 322.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.288e-05/6.465, allocations: 333.9 kB / 3.116 GB, free: 322.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/6.465, allocations: 193.7 kB / 3.116 GB, free: 322.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004587/6.465, allocations: 306.2 kB / 3.117 GB, free: 322.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/6.466, allocations: 238.8 kB / 3.117 GB, free: 322 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/6.466, allocations: 0 / 3.117 GB, free: 322 MB / 0.948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001608/6.467, allocations: 0.6894 MB / 3.117 GB, free: 321.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/6.467, allocations: 6.25 kB / 3.117 GB, free: 321.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/6.467, allocations: 1.438 kB / 3.117 GB, free: 321.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006177/6.468, allocations: 85.67 kB / 3.118 GB, free: 321.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005634/6.469, allocations: 132.8 kB / 3.118 GB, free: 321.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/6.471, allocations: 1.531 MB / 3.119 GB, free: 320.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006068/6.471, allocations: 85.25 kB / 3.119 GB, free: 320.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.345e-05/6.471, allocations: 24.14 kB / 3.119 GB, free: 320.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.000171/6.471, allocations: 136 kB / 3.119 GB, free: 320 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/6.472, allocations: 95.22 kB / 3.119 GB, free: 320 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/6.474, allocations: 0.9489 MB / 3.12 GB, free: 319.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/6.474, allocations: 8.281 kB / 3.12 GB, free: 319.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/6.474, allocations: 0 / 3.12 GB, free: 319.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/6.474, allocations: 4.109 kB / 3.12 GB, free: 319.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/6.475, allocations: 0.9622 MB / 3.121 GB, free: 319.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/6.475, allocations: 0.9375 kB / 3.121 GB, free: 319.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005485/6.476, allocations: 135.5 kB / 3.121 GB, free: 319.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004973/6.476, allocations: 85.08 kB / 3.122 GB, free: 319.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.325e-05/6.476, allocations: 27.48 kB / 3.122 GB, free: 319.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/6.478, allocations: 1.558 MB / 3.123 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/6.478, allocations: 0.9688 kB / 3.123 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/6.48, allocations: 0.7981 MB / 3.124 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000409/6.48, allocations: 295.2 kB / 3.124 GB, free: 317.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/6.48, allocations: 16.53 kB / 3.124 GB, free: 317.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005356/6.481, allocations: 68.08 kB / 3.124 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/6.481, allocations: 60.77 kB / 3.124 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-05/6.481, allocations: 26.31 kB / 3.124 GB, free: 317 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008821/6.482, allocations: 0.5581 MB / 3.125 GB, free: 316.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/6.482, allocations: 5.25 kB / 3.125 GB, free: 316.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001286/6.483, allocations: 355.4 kB / 3.125 GB, free: 316.7 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.003941/6.487, allocations: 2.232 MB / 3.127 GB, free: 315.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001532/6.489, allocations: 0.667 MB / 3.128 GB, free: 315.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/6.489, allocations: 1.594 kB / 3.128 GB, free: 315.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009332/6.49, allocations: 464.8 kB / 3.128 GB, free: 315 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/6.492, allocations: 388.2 kB / 3.129 GB, free: 314.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005232/6.497, allocations: 1.721 MB / 3.131 GB, free: 314.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007045/6.498, allocations: 1.094 MB / 3.132 GB, free: 313.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001029/6.499, allocations: 274.4 kB / 3.132 GB, free: 313.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005305/6.499, allocations: 440 kB / 3.132 GB, free: 313.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.292e-06/6.499, allocations: 0 / 3.132 GB, free: 313.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05609/6.555, allocations: 34.06 MB / 3.166 GB, free: 290.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/6.556, allocations: 245.8 kB / 3.166 GB, free: 290.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.304/9.86, allocations: 4 kB / 3.166 GB, free: 290.4 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)