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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008217/0.0008217, allocations: 92.78 kB / 15.36 MB, free: 0.7383 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.005105/0.005105, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.158/1.158, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.37/2.37, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002881/0.0002881, allocations: 10.78 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2351, allocations: 159.6 MB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.00651/0.2417, allocations: 6.67 MB / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1357/0.3774, allocations: 149.5 MB / 1.211 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009861/0.3784, allocations: 35.81 kB / 1.211 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000754/0.3792, allocations: 269.8 kB / 1.212 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001955/0.3812, allocations: 0.6503 MB / 1.212 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.3836, allocations: 1.243 MB / 1.213 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002358/0.3859, allocations: 2.464 MB / 1.216 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.3871, allocations: 0.9984 MB / 1.217 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007494/0.3879, allocations: 0.6493 MB / 1.217 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007176/0.3886, allocations: 0.7227 MB / 1.218 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.3887, allocations: 52 kB / 1.218 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.3899, allocations: 0.7841 MB / 1.219 GB, free: 196 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002984/0.3902, allocations: 362.3 kB / 1.219 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000603/0.3908, allocations: 0.8402 MB / 1.22 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.3929, allocations: 2.737 MB / 1.223 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.3929, allocations: 0 / 1.223 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.62e-07/0.393, allocations: 0 / 1.223 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.393, allocations: 0 / 1.223 GB, free: 12.24 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.003198/0.3962, allocations: 2.004 MB / 1.225 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.3962, allocations: 11.97 kB / 1.225 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002364/0.3965, allocations: 215.4 kB / 1.225 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001707/0.3982, allocations: 397.8 kB / 1.225 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.3997, allocations: 1.272 MB / 1.227 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.049e-05/0.3998, allocations: 110.9 kB / 1.227 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.4, allocations: 140 kB / 1.227 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002534/0.4025, allocations: 1.662 MB / 1.228 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/0.4026, allocations: 7.938 kB / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.4027, allocations: 60 kB / 1.228 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/0.4027, allocations: 36 kB / 1.229 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003203/0.4059, allocations: 2.17 MB / 1.231 GB, free: 3.945 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.006465/0.4124, allocations: 5.012 MB / 1.236 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002906/0.4153, allocations: 1.625 MB / 1.237 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.4164, allocations: 0.6028 MB / 1.238 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.4165, allocations: 57.22 kB / 1.238 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001543/0.4181, allocations: 0.9525 MB / 1.239 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=154): time 2.695e-06/0.4181, allocations: 0 / 1.239 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of matching and sorting (n=154): time 0.005685/0.4238, allocations: 2.401 MB / 1.241 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.4239, allocations: 355.5 kB / 1.241 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.4252, allocations: 1.167 MB / 1.243 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.4253, allocations: 53.7 kB / 1.243 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004543/0.4258, allocations: 0.6661 MB / 1.243 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003323/0.4261, allocations: 492.8 kB / 1.244 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.4263, allocations: 109.7 kB / 1.244 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.4264, allocations: 361.9 kB / 1.244 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.4274, allocations: 0.4997 MB / 1.245 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.4286, allocations: 0.7346 MB / 1.245 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/0.4307, allocations: 1.204 MB / 1.247 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4307, allocations: 0 / 1.247 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003463/0.4342, allocations: 1.61 MB / 1.248 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.4342, allocations: 4 kB / 1.248 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4342, allocations: 4 kB / 1.248 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.4353, allocations: 169.8 kB / 1.248 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.4364, allocations: 303.5 kB / 1.249 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.432/0.8684, allocations: 3.074 MB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.87, allocations: 196.4 kB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.8701, allocations: 62.16 kB / 1.252 GB, free: 185.1 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.000671/0.8708, allocations: 412.4 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.871, allocations: 166.7 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004672/0.8757, allocations: 2.19 MB / 1.254 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.8757, allocations: 25.75 kB / 1.255 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.8757, allocations: 0.7812 kB / 1.255 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.8757, allocations: 12.16 kB / 1.255 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.8771, allocations: 1.626 MB / 1.256 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.8771, allocations: 0 / 1.256 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009784/0.8781, allocations: 298 kB / 1.256 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008818/0.879, allocations: 168.6 kB / 1.257 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.06e-05/0.8791, allocations: 48.06 kB / 1.257 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002564/0.8817, allocations: 3.118 MB / 1.26 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8817, allocations: 0.7344 kB / 1.26 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003205/0.8849, allocations: 1.84 MB / 1.261 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000531/0.8854, allocations: 0.4965 MB / 1.262 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/0.8856, allocations: 38.36 kB / 1.262 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.8868, allocations: 167.3 kB / 1.262 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002287/0.887, allocations: 140.8 kB / 1.262 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.8871, allocations: 73.5 kB / 1.262 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000873/0.888, allocations: 0.8104 MB / 1.263 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.31e-07/0.888, allocations: 0 / 1.263 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009729/0.889, allocations: 0.5087 MB / 1.264 GB, free: 181.4 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.004582/0.8936, allocations: 2.952 MB / 1.266 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002937/0.8965, allocations: 1.624 MB / 1.268 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.8966, allocations: 1.25 kB / 1.268 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001743/0.8983, allocations: 1.047 MB / 1.269 GB, free: 180 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/0.9004, allocations: 0.5272 MB / 1.27 GB, free: 180 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02023/0.9206, allocations: 12.83 MB / 1.282 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00081/0.9214, allocations: 1.334 MB / 1.283 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001602/0.9231, allocations: 0.5187 MB / 1.284 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008414/0.9239, allocations: 0.7317 MB / 1.285 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of SimCode: time 7.82e-07/0.9239, allocations: 0.8438 kB / 1.285 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.412/10.34, allocations: 37.55 MB / 1.321 GB, free: 147.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/10.34, allocations: 301.5 kB / 1.322 GB, free: 146.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.118/13.45, allocations: 1 kB / 1.322 GB, free: 146.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)