Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_10_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.0008523/0.0008523, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.004949/0.004949, allocations: 169 kB / 16.26 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.17/1.17, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.22/2.22, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002855/0.0002855, allocations: 8 kB / 0.8729 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4946/0.4949, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006895/0.5019, allocations: 6.668 MB / 1.03 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.141/0.6429, allocations: 149.5 MB / 1.176 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.644, allocations: 31.81 kB / 1.176 GB, free: 3.113 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007714/0.6447, allocations: 273.9 kB / 1.176 GB, free: 2.844 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.6467, allocations: 0.6563 MB / 1.177 GB, free: 2.188 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.649, allocations: 1.228 MB / 1.178 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002029/0.6511, allocations: 2.468 MB / 1.18 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.6523, allocations: 0.9983 MB / 1.181 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006226/0.6529, allocations: 0.6455 MB / 1.182 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007114/0.6536, allocations: 0.7188 MB / 1.182 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.6537, allocations: 52 kB / 1.182 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.6548, allocations: 0.784 MB / 1.183 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002928/0.6551, allocations: 362.3 kB / 1.184 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006255/0.6558, allocations: 0.848 MB / 1.184 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.6579, allocations: 2.737 MB / 1.187 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.6579, allocations: 0 / 1.187 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.203e-06/0.6579, allocations: 3.938 kB / 1.187 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.6579, allocations: 0 / 1.187 GB, free: 7.273 MB / 0.9356 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.003222/0.6612, allocations: 1.996 MB / 1.189 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.6612, allocations: 8.031 kB / 1.189 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002303/0.6614, allocations: 215.4 kB / 1.189 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/0.6631, allocations: 401.8 kB / 1.19 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.6647, allocations: 1.272 MB / 1.191 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.157e-05/0.6648, allocations: 106.9 kB / 1.191 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.665, allocations: 144 kB / 1.191 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.6675, allocations: 1.658 MB / 1.193 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.6675, allocations: 3.938 kB / 1.193 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.6677, allocations: 64 kB / 1.193 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.6677, allocations: 36 kB / 1.193 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003171/0.6709, allocations: 2.17 MB / 1.195 GB, free: 14.99 MB / 0.9512 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.006485/0.6774, allocations: 5.023 MB / 1.2 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002867/0.6802, allocations: 1.622 MB / 1.201 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.6813, allocations: 0.6028 MB / 1.202 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.6814, allocations: 57.22 kB / 1.202 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001508/0.6829, allocations: 0.9563 MB / 1.203 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=154): time 2.395e-06/0.6829, allocations: 0 / 1.203 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of matching and sorting (n=154): time 0.005678/0.6886, allocations: 2.401 MB / 1.205 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/0.6888, allocations: 359.4 kB / 1.206 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.6901, allocations: 1.163 MB / 1.207 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.973e-05/0.6902, allocations: 53.7 kB / 1.207 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004616/0.6906, allocations: 0.67 MB / 1.208 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003353/0.691, allocations: 492.9 kB / 1.208 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.6911, allocations: 109.7 kB / 1.208 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.6913, allocations: 361.9 kB / 1.208 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.6923, allocations: 0.4958 MB / 1.209 GB, free: 300 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.6935, allocations: 0.7259 MB / 1.21 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002152/0.6957, allocations: 1.212 MB / 1.211 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6957, allocations: 0 / 1.211 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003459/0.6991, allocations: 1.602 MB / 1.212 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.6992, allocations: 8 kB / 1.212 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6992, allocations: 7.938 kB / 1.212 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.7002, allocations: 169.6 kB / 1.213 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.7013, allocations: 311.5 kB / 1.213 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003426/0.7048, allocations: 3.075 MB / 1.216 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.706, allocations: 203.3 kB / 1.216 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.7061, allocations: 63.95 kB / 1.216 GB, free: 8.527 MB / 0.9669 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.0005452/0.7066, allocations: 410 kB / 1.217 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.7068, allocations: 165.9 kB / 1.217 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004613/0.7115, allocations: 2.193 MB / 1.219 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.7115, allocations: 20 kB / 1.219 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.7115, allocations: 4 kB / 1.219 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.7115, allocations: 7.969 kB / 1.219 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.7132, allocations: 1.64 MB / 1.22 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.7132, allocations: 0 / 1.22 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.7142, allocations: 287.6 kB / 1.221 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009327/0.7152, allocations: 169.5 kB / 1.221 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.821e-05/0.7153, allocations: 55.94 kB / 1.221 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0032/0.7185, allocations: 3.123 MB / 1.224 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7185, allocations: 0 / 1.224 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003561/0.7221, allocations: 1.835 MB / 1.226 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005701/0.7226, allocations: 0.4905 MB / 1.226 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/0.7228, allocations: 39.98 kB / 1.226 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.724, allocations: 169.5 kB / 1.226 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/0.7243, allocations: 137.8 kB / 1.227 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.7244, allocations: 75.89 kB / 1.227 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009615/0.7254, allocations: 0.8108 MB / 1.227 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2e-07/0.7254, allocations: 0 / 1.227 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009935/0.7264, allocations: 0.5183 MB / 1.228 GB, free: 11.99 MB / 0.9825 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.005008/0.7314, allocations: 2.951 MB / 1.231 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002821/0.7342, allocations: 1.622 MB / 1.232 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7342, allocations: 0 / 1.232 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001703/0.7359, allocations: 1.051 MB / 1.233 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/0.738, allocations: 0.524 MB / 1.234 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02068/0.7587, allocations: 12.83 MB / 1.247 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008454/0.7595, allocations: 1.329 MB / 1.248 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00145/0.761, allocations: 0.5204 MB / 1.248 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009269/0.7619, allocations: 0.7335 MB / 1.249 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.7619, allocations: 0 / 1.249 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9817/1.744, allocations: 37.52 MB / 1.286 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/1.744, allocations: 290.4 kB / 1.286 GB, free: 214.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.248/4.992, allocations: 0 / 1.286 GB, free: 214.5 MB / 0.9981 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)