Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.458/1.458, allocations: 251.9 MB / 266.8 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 185.3 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.26/2.26, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009818/0.0009818, allocations: 100.3 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004436/0.0004436, allocations: 9.25 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2737, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.553/5.826, allocations: 2.19 GB / 3.09 GB, free: 29.89 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/5.827, allocations: 87.95 kB / 3.09 GB, free: 29.81 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.8406/6.667, allocations: 90.28 MB / 3.178 GB, free: 304 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.266e-06/6.667, allocations: 0 / 3.178 GB, free: 304 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002566/6.668, allocations: 43.19 kB / 3.178 GB, free: 304 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.006843/6.675, allocations: 1.843 MB / 3.18 GB, free: 302.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.667e-05/6.675, allocations: 8.031 kB / 3.18 GB, free: 302.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001052/6.676, allocations: 198.4 kB / 3.18 GB, free: 302.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002597/6.678, allocations: 373.3 kB / 3.18 GB, free: 301.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002478/6.681, allocations: 1.023 MB / 3.181 GB, free: 300.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.025e-05/6.681, allocations: 98.62 kB / 3.182 GB, free: 300.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/6.681, allocations: 124 kB / 3.182 GB, free: 300.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002776/6.684, allocations: 1.495 MB / 3.183 GB, free: 298.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/6.684, allocations: 7.938 kB / 3.183 GB, free: 298.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/6.684, allocations: 60 kB / 3.183 GB, free: 298.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/6.684, allocations: 32 kB / 3.183 GB, free: 298.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002975/6.687, allocations: 2.051 MB / 3.185 GB, free: 296.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007289/6.694, allocations: 4.464 MB / 3.19 GB, free: 292.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/6.697, allocations: 1.456 MB / 3.191 GB, free: 290.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/6.697, allocations: 57.17 kB / 3.191 GB, free: 290.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001386/6.699, allocations: 0.7999 MB / 3.192 GB, free: 289.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=136): time 4.609e-06/6.699, allocations: 0 / 3.192 GB, free: 289.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=136): time 0.005975/6.705, allocations: 2.148 MB / 3.194 GB, free: 287.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000171/6.705, allocations: 462 kB / 3.194 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/6.707, allocations: 1.053 MB / 3.195 GB, free: 286 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001979/6.707, allocations: 49.7 kB / 3.195 GB, free: 286 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005186/6.707, allocations: 0.603 MB / 3.196 GB, free: 285.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003681/6.708, allocations: 449.5 kB / 3.196 GB, free: 284.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-05/6.708, allocations: 20 kB / 3.197 GB, free: 284.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001266/6.708, allocations: 361.9 kB / 3.197 GB, free: 284.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008401/6.709, allocations: 438.4 kB / 3.197 GB, free: 284.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009557/6.71, allocations: 0.658 MB / 3.198 GB, free: 283.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009205/6.711, allocations: 0.5343 MB / 3.198 GB, free: 282.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/6.711, allocations: 0 / 3.198 GB, free: 282.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003244/6.714, allocations: 1.416 MB / 3.2 GB, free: 281.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/6.714, allocations: 8 kB / 3.2 GB, free: 281.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/6.714, allocations: 4.219 kB / 3.2 GB, free: 281.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/6.715, allocations: 173.4 kB / 3.2 GB, free: 281.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/6.716, allocations: 267.6 kB / 3.2 GB, free: 281 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003251/6.719, allocations: 3.089 MB / 3.203 GB, free: 277.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/6.721, allocations: 162.9 kB / 3.203 GB, free: 277.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/6.721, allocations: 59.89 kB / 3.203 GB, free: 277.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008923/6.722, allocations: 377.5 kB / 3.204 GB, free: 277 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000289/6.722, allocations: 154.2 kB / 3.204 GB, free: 276.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004226/6.726, allocations: 2.003 MB / 3.206 GB, free: 274.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/6.726, allocations: 19.94 kB / 3.206 GB, free: 274.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/6.726, allocations: 4 kB / 3.206 GB, free: 274.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/6.726, allocations: 11.92 kB / 3.206 GB, free: 274.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/6.728, allocations: 1.517 MB / 3.207 GB, free: 273.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/6.728, allocations: 0 / 3.207 GB, free: 273.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/6.729, allocations: 275.7 kB / 3.208 GB, free: 273 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009261/6.73, allocations: 173.5 kB / 3.208 GB, free: 272.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.454e-05/6.73, allocations: 43.97 kB / 3.208 GB, free: 272.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003085/6.734, allocations: 3.139 MB / 3.211 GB, free: 269.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/6.734, allocations: 7.969 kB / 3.211 GB, free: 269.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003702/6.737, allocations: 1.646 MB / 3.213 GB, free: 267.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/6.738, allocations: 486.4 kB / 3.213 GB, free: 267.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004495/6.739, allocations: 36 kB / 3.213 GB, free: 267.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/6.74, allocations: 131.9 kB / 3.213 GB, free: 267 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002628/6.74, allocations: 117.8 kB / 3.213 GB, free: 266.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/6.741, allocations: 59.97 kB / 3.213 GB, free: 266.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001616/6.742, allocations: 0.835 MB / 3.214 GB, free: 266 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.21e-07/6.742, allocations: 0 / 3.214 GB, free: 266 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002123/6.744, allocations: 0.5261 MB / 3.215 GB, free: 265.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006313/6.751, allocations: 3.271 MB / 3.218 GB, free: 262.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003187/6.754, allocations: 1.455 MB / 3.219 GB, free: 260.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/6.754, allocations: 4 kB / 3.219 GB, free: 260.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001819/6.756, allocations: 0.9576 MB / 3.22 GB, free: 259.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/6.758, allocations: 482.9 kB / 3.221 GB, free: 259.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0205/6.779, allocations: 10.2 MB / 3.231 GB, free: 248.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/6.78, allocations: 1.316 MB / 3.232 GB, free: 247.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002373/6.783, allocations: 0.5033 MB / 3.232 GB, free: 246.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001181/6.784, allocations: 0.6554 MB / 3.233 GB, free: 246.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.583e-06/6.784, allocations: 0 / 3.233 GB, free: 246.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07486/6.859, allocations: 46.46 MB / 3.278 GB, free: 200.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/6.859, allocations: 268.2 kB / 3.279 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.237/11.1, allocations: 4.062 kB / 3.279 GB, free: 199.8 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)