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.753/1.753, allocations: 288.2 MB / 303.2 MB, free: 8.168 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.001105/0.001105, allocations: 185.6 kB / 371.8 MB, free: 10.29 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.937/1.937, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009063/0.0009061, allocations: 113 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004936, allocations: 11.12 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2955, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.048/5.344, allocations: 2.073 GB / 3.052 GB, free: 197.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/5.344, allocations: 94.06 kB / 3.053 GB, free: 197.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1331/5.477, allocations: 62.76 MB / 3.114 GB, free: 143.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.705e-06/5.477, allocations: 3.938 kB / 3.114 GB, free: 143.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001467/5.477, allocations: 35.94 kB / 3.114 GB, free: 143.8 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.00305/5.48, allocations: 1.347 MB / 3.115 GB, free: 142.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/5.48, allocations: 12.02 kB / 3.115 GB, free: 142.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003552/5.481, allocations: 143.8 kB / 3.115 GB, free: 142.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/5.482, allocations: 226.2 kB / 3.116 GB, free: 142 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/5.483, allocations: 0.7679 MB / 3.116 GB, free: 141.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.761e-05/5.484, allocations: 70 kB / 3.116 GB, free: 141.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000202/5.484, allocations: 91.94 kB / 3.116 GB, free: 141 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/5.486, allocations: 0.9574 MB / 3.117 GB, free: 140 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/5.486, allocations: 0 / 3.117 GB, free: 140 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/5.486, allocations: 36 kB / 3.117 GB, free: 140 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/5.486, allocations: 24 kB / 3.117 GB, free: 139.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/5.488, allocations: 1.12 MB / 3.119 GB, free: 138.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004388/5.492, allocations: 2.695 MB / 3.121 GB, free: 136.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/5.493, allocations: 0.7217 MB / 3.122 GB, free: 135.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.847e-05/5.493, allocations: 32.58 kB / 3.122 GB, free: 135.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006376/5.494, allocations: 421.7 kB / 3.122 GB, free: 134.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=69): time 2.264e-06/5.494, allocations: 0 / 3.122 GB, free: 134.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=69): time 0.0027/5.497, allocations: 1.091 MB / 3.123 GB, free: 133.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/5.497, allocations: 239.9 kB / 3.124 GB, free: 133.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/5.498, allocations: 0.7038 MB / 3.124 GB, free: 132.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.898e-05/5.498, allocations: 41.7 kB / 3.124 GB, free: 132.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/5.498, allocations: 488 kB / 3.125 GB, free: 132.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/5.498, allocations: 236.6 kB / 3.125 GB, free: 132 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/5.498, allocations: 8 kB / 3.125 GB, free: 132 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.89e-05/5.498, allocations: 333.9 kB / 3.125 GB, free: 131.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/5.499, allocations: 217.2 kB / 3.126 GB, free: 131.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004508/5.499, allocations: 319.7 kB / 3.126 GB, free: 131.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004201/5.5, allocations: 259.1 kB / 3.126 GB, free: 130.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/5.5, allocations: 0 / 3.126 GB, free: 130.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001569/5.501, allocations: 0.7312 MB / 3.127 GB, free: 130.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/5.501, allocations: 4 kB / 3.127 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/5.501, allocations: 0 / 3.127 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006203/5.502, allocations: 84.78 kB / 3.127 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005238/5.502, allocations: 139.7 kB / 3.127 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/5.504, allocations: 1.548 MB / 3.129 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006305/5.505, allocations: 79.59 kB / 3.129 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/5.505, allocations: 27.98 kB / 3.129 GB, free: 128.1 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 () * 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.0005216/5.505, allocations: 274.2 kB / 3.129 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/5.506, allocations: 94.78 kB / 3.129 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002048/5.508, allocations: 0.9953 MB / 3.13 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/5.508, allocations: 8 kB / 3.13 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/5.508, allocations: 0 / 3.13 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/5.508, allocations: 7.984 kB / 3.13 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/5.509, allocations: 0.9546 MB / 3.131 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/5.509, allocations: 3.953 kB / 3.131 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005106/5.509, allocations: 139.8 kB / 3.131 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005031/5.51, allocations: 84.77 kB / 3.131 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.737e-05/5.51, allocations: 19.98 kB / 3.131 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/5.511, allocations: 1.571 MB / 3.133 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/5.511, allocations: 0 / 3.133 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/5.513, allocations: 0.8529 MB / 3.134 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004742/5.514, allocations: 295.5 kB / 3.134 GB, free: 122.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/5.514, allocations: 16 kB / 3.134 GB, free: 122.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005633/5.514, allocations: 59.95 kB / 3.134 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/5.514, allocations: 60.91 kB / 3.134 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-05/5.514, allocations: 27.98 kB / 3.134 GB, free: 122.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007805/5.515, allocations: 0.5693 MB / 3.135 GB, free: 121.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.1e-07/5.515, allocations: 4 kB / 3.135 GB, free: 121.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001139/5.516, allocations: 355 kB / 3.135 GB, free: 121.4 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) * 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.004299/5.521, allocations: 2.326 MB / 3.137 GB, free: 119.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001492/5.522, allocations: 0.7166 MB / 3.138 GB, free: 118.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/5.522, allocations: 0 / 3.138 GB, free: 118.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007981/5.523, allocations: 484.3 kB / 3.138 GB, free: 118 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/5.525, allocations: 386.4 kB / 3.139 GB, free: 117.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/5.537, allocations: 5.826 MB / 3.144 GB, free: 111.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007369/5.538, allocations: 1.101 MB / 3.145 GB, free: 110.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001234/5.539, allocations: 274.9 kB / 3.146 GB, free: 110.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000638/5.54, allocations: 431.3 kB / 3.146 GB, free: 109.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.252e-06/5.54, allocations: 0 / 3.146 GB, free: 109.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05429/5.594, allocations: 32.45 MB / 3.178 GB, free: 77.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/5.595, allocations: 269.2 kB / 3.178 GB, free: 77.24 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.35/8.945, allocations: 0 / 3.178 GB, free: 77.24 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)