Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 195.9 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.212/1.212, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.436/2.436, allocations: 461.9 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.89 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2287, allocations: 157.4 MB / 1.052 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.00783/0.2365, allocations: 7.164 MB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.135/0.3715, allocations: 151.2 MB / 1.207 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.3728, allocations: 35.81 kB / 1.207 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.3738, allocations: 265.8 kB / 1.207 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002309/0.3762, allocations: 0.683 MB / 1.208 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002779/0.379, allocations: 1.247 MB / 1.209 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002738/0.3817, allocations: 2.655 MB / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.3833, allocations: 1.038 MB / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.3845, allocations: 0.8914 MB / 1.214 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.3858, allocations: 0.9197 MB / 1.215 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004753/0.3863, allocations: 212 kB / 1.215 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.388, allocations: 0.9442 MB / 1.216 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005987/0.3886, allocations: 0.5374 MB / 1.216 GB, free: 328 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001234/0.3898, allocations: 1.034 MB / 1.217 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003163/0.393, allocations: 2.921 MB / 1.22 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.393, allocations: 0 / 1.22 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.393, allocations: 4 kB / 1.22 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.218e-05/0.3931, allocations: 0 / 1.22 GB, free: 12.35 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 367 * Number of variables: 367 Notification: Performance of Generate backend data structure: time 0.005329/0.3984, allocations: 2.378 MB / 1.222 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.3985, allocations: 8.625 kB / 1.222 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004004/0.3989, allocations: 215.4 kB / 1.223 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002163/0.4011, allocations: 381.8 kB / 1.223 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002108/0.4032, allocations: 1.279 MB / 1.224 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-05/0.4033, allocations: 106.9 kB / 1.224 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/0.4036, allocations: 140 kB / 1.224 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002918/0.4065, allocations: 1.655 MB / 1.226 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.4065, allocations: 0 / 1.226 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/0.4067, allocations: 64 kB / 1.226 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.4067, allocations: 36 kB / 1.226 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003213/0.4099, allocations: 2.146 MB / 1.228 GB, free: 3.73 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006756/0.4167, allocations: 4.946 MB / 1.233 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002899/0.4196, allocations: 1.609 MB / 1.235 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/0.4206, allocations: 0.5912 MB / 1.235 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.4208, allocations: 61.2 kB / 1.235 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001588/0.4223, allocations: 0.9383 MB / 1.236 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=154): time 2.885e-06/0.4224, allocations: 0 / 1.236 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=154): time 0.005816/0.4282, allocations: 2.374 MB / 1.239 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.4283, allocations: 355.4 kB / 1.239 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.4296, allocations: 1.159 MB / 1.24 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.4297, allocations: 61.7 kB / 1.24 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004392/0.4302, allocations: 0.6621 MB / 1.241 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003384/0.4305, allocations: 0.4969 MB / 1.241 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003835/0.4309, allocations: 275.4 kB / 1.241 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.431, allocations: 357.9 kB / 1.242 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009871/0.432, allocations: 0.4919 MB / 1.242 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.4332, allocations: 0.722 MB / 1.243 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002067/0.4353, allocations: 1.188 MB / 1.244 GB, free: 3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.4353, allocations: 4 kB / 1.244 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003521/0.4389, allocations: 1.586 MB / 1.246 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.4389, allocations: 4 kB / 1.246 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4389, allocations: 4 kB / 1.246 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.44, allocations: 177.8 kB / 1.246 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.4411, allocations: 307.5 kB / 1.246 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3987/0.8398, allocations: 3.28 MB / 1.249 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.8414, allocations: 179.2 kB / 1.25 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.8415, allocations: 65.17 kB / 1.25 GB, free: 188.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 30 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006691/0.8422, allocations: 415.5 kB / 1.25 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.8424, allocations: 166.8 kB / 1.25 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004533/0.847, allocations: 2.173 MB / 1.252 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.847, allocations: 21.62 kB / 1.252 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.847, allocations: 0 / 1.252 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.847, allocations: 13.73 kB / 1.252 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.8484, allocations: 1.63 MB / 1.254 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.8484, allocations: 0 / 1.254 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.8494, allocations: 287.5 kB / 1.254 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007765/0.8502, allocations: 149.2 kB / 1.254 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.789e-05/0.8503, allocations: 47.11 kB / 1.254 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002704/0.853, allocations: 3.344 MB / 1.258 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.853, allocations: 3.828 kB / 1.258 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003245/0.8562, allocations: 1.825 MB / 1.259 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005056/0.8567, allocations: 468.4 kB / 1.26 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/0.8569, allocations: 42.69 kB / 1.26 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.8581, allocations: 132.4 kB / 1.26 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000233/0.8583, allocations: 137 kB / 1.26 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.8584, allocations: 72.08 kB / 1.26 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008435/0.8593, allocations: 0.8118 MB / 1.261 GB, free: 185 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8593, allocations: 0 / 1.261 GB, free: 185 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009717/0.8602, allocations: 0.5144 MB / 1.262 GB, free: 184.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 10 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2419/1.102, allocations: 2.929 MB / 1.264 GB, free: 184 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004985/1.107, allocations: 1.998 MB / 1.266 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.107, allocations: 1.688 kB / 1.266 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001685/1.109, allocations: 1.05 MB / 1.267 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/1.111, allocations: 0.5842 MB / 1.268 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02045/1.131, allocations: 12.76 MB / 1.28 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007705/1.132, allocations: 1.332 MB / 1.282 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00169/1.134, allocations: 0.526 MB / 1.282 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008397/1.135, allocations: 0.7372 MB / 1.283 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.122e-06/1.135, allocations: 4 kB / 1.283 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.171/4.305, allocations: 39.08 MB / 1.321 GB, free: 148.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/4.306, allocations: 299.1 kB / 1.321 GB, free: 147.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.69/6.996, allocations: 0 / 1.321 GB, free: 147.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)