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.001177/0.001177, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001117/0.001117, allocations: 193.3 kB / 16.14 MB, free: 6.652 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.186/1.186, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.351/2.351, allocations: 461.9 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 63.03 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2411, allocations: 157.4 MB / 1.052 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.007513/0.2486, allocations: 7.16 MB / 1.059 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1403/0.3889, allocations: 151.1 MB / 1.207 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.3902, allocations: 31.81 kB / 1.207 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000987/0.3912, allocations: 265.9 kB / 1.207 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002142/0.3934, allocations: 0.6594 MB / 1.208 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002504/0.3959, allocations: 1.23 MB / 1.209 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002109/0.398, allocations: 2.468 MB / 1.211 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.3991, allocations: 1.014 MB / 1.212 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006845/0.3998, allocations: 0.7586 MB / 1.213 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000742/0.4006, allocations: 0.8514 MB / 1.214 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.4008, allocations: 92 kB / 1.214 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.4019, allocations: 0.8309 MB / 1.215 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003325/0.4023, allocations: 430.2 kB / 1.215 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000657/0.403, allocations: 0.905 MB / 1.216 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.4051, allocations: 2.815 MB / 1.219 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4051, allocations: 0 / 1.219 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4051, allocations: 4 kB / 1.219 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.4051, allocations: 3.938 kB / 1.219 GB, free: 12.96 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.003677/0.4088, allocations: 2.382 MB / 1.221 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.4088, allocations: 11.97 kB / 1.221 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002253/0.4091, allocations: 219.3 kB / 1.221 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.4108, allocations: 377.8 kB / 1.222 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.4123, allocations: 1.279 MB / 1.223 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.279e-05/0.4124, allocations: 110.9 kB / 1.223 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.4126, allocations: 136 kB / 1.223 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002522/0.4151, allocations: 1.662 MB / 1.225 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.4152, allocations: 0 / 1.225 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.4153, allocations: 64 kB / 1.225 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.4153, allocations: 36 kB / 1.225 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00312/0.4184, allocations: 2.146 MB / 1.227 GB, free: 4.328 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.006259/0.4247, allocations: 4.942 MB / 1.232 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002824/0.4276, allocations: 1.616 MB / 1.233 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.4286, allocations: 0.5873 MB / 1.234 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.4287, allocations: 61.2 kB / 1.234 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001542/0.4302, allocations: 0.9422 MB / 1.235 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=154): time 2.475e-06/0.4303, allocations: 0 / 1.235 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of matching and sorting (n=154): time 0.005665/0.4359, allocations: 2.37 MB / 1.237 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.4361, allocations: 359.4 kB / 1.238 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.4373, allocations: 1.159 MB / 1.239 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.4374, allocations: 53.7 kB / 1.239 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004377/0.4379, allocations: 0.6699 MB / 1.239 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003257/0.4382, allocations: 492.9 kB / 1.24 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003708/0.4386, allocations: 287.3 kB / 1.24 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.4387, allocations: 357.9 kB / 1.241 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009799/0.4397, allocations: 499.7 kB / 1.241 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.4408, allocations: 0.722 MB / 1.242 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/0.4429, allocations: 1.192 MB / 1.243 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.4429, allocations: 8 kB / 1.243 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003443/0.4464, allocations: 1.59 MB / 1.244 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.4464, allocations: 4 kB / 1.244 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.4464, allocations: 7.938 kB / 1.244 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.4475, allocations: 169.8 kB / 1.245 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.4486, allocations: 307.5 kB / 1.245 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3993/0.8479, allocations: 3.058 MB / 1.248 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.8494, allocations: 180.2 kB / 1.248 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.8496, allocations: 61.42 kB / 1.248 GB, free: 188.5 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.000673/0.8503, allocations: 403.9 kB / 1.249 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002783/0.8505, allocations: 169.3 kB / 1.249 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004579/0.8551, allocations: 2.186 MB / 1.251 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.8552, allocations: 18.12 kB / 1.251 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.8552, allocations: 0 / 1.251 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.8552, allocations: 9.344 kB / 1.251 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.8565, allocations: 1.621 MB / 1.252 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.8566, allocations: 0 / 1.252 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009771/0.8575, allocations: 287.8 kB / 1.253 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008792/0.8584, allocations: 178 kB / 1.253 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.811e-05/0.8585, allocations: 51.72 kB / 1.253 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002644/0.8612, allocations: 3.105 MB / 1.256 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8612, allocations: 4.5 kB / 1.256 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00327/0.8645, allocations: 1.824 MB / 1.258 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005073/0.865, allocations: 472.1 kB / 1.258 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/0.8652, allocations: 37.31 kB / 1.258 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.8663, allocations: 134.9 kB / 1.258 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002375/0.8665, allocations: 143.3 kB / 1.258 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.8666, allocations: 69.67 kB / 1.259 GB, free: 185 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008508/0.8675, allocations: 0.806 MB / 1.259 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.71e-07/0.8675, allocations: 0 / 1.259 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009723/0.8685, allocations: 0.5145 MB / 1.26 GB, free: 184.8 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.004644/0.8731, allocations: 2.932 MB / 1.263 GB, free: 184 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002959/0.8761, allocations: 1.599 MB / 1.264 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.8761, allocations: 1.594 kB / 1.264 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001801/0.8779, allocations: 1.038 MB / 1.265 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/0.8798, allocations: 0.532 MB / 1.266 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02033/0.9001, allocations: 12.77 MB / 1.278 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007717/0.9009, allocations: 1.332 MB / 1.28 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001629/0.9025, allocations: 0.5199 MB / 1.28 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008429/0.9034, allocations: 0.7331 MB / 1.281 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of SimCode: time 4.9e-07/0.9034, allocations: 0 / 1.281 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.134/4.038, allocations: 37.95 MB / 1.318 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/4.038, allocations: 304.1 kB / 1.318 GB, free: 149.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.631/6.669, allocations: 0 / 1.318 GB, free: 149.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)