Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",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.001015/0.001015, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001033/0.001033, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.188/1.188, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.246/2.246, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 71.89 kB / 0.8688 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4864/0.4876, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005381/0.493, allocations: 4.71 MB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1254/0.6185, allocations: 148.4 MB / 1.166 GB, free: 9.062 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006488/0.6191, allocations: 19.88 kB / 1.166 GB, free: 9.043 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005527/0.6197, allocations: 142.9 kB / 1.167 GB, free: 8.902 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.6212, allocations: 477.7 kB / 1.167 GB, free: 8.438 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.6228, allocations: 0.7545 MB / 1.168 GB, free: 7.691 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001221/0.624, allocations: 1.385 MB / 1.169 GB, free: 6.301 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006651/0.6247, allocations: 0.5331 MB / 1.17 GB, free: 5.75 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005535/0.6253, allocations: 478.3 kB / 1.17 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005265/0.6258, allocations: 0.4998 MB / 1.171 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000147/0.626, allocations: 112 kB / 1.171 GB, free: 4.672 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.6271, allocations: 0.8427 MB / 1.171 GB, free: 3.828 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.6273, allocations: 287.1 kB / 1.172 GB, free: 3.547 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004039/0.6277, allocations: 0.5324 MB / 1.172 GB, free: 3.012 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.6293, allocations: 1.749 MB / 1.174 GB, free: 1.258 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.6293, allocations: 0 / 1.174 GB, free: 1.258 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.485e-06/0.6293, allocations: 4 kB / 1.174 GB, free: 1.254 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.114e-05/0.6294, allocations: 0 / 1.174 GB, free: 1.254 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002384/0.6318, allocations: 1.462 MB / 1.175 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.6318, allocations: 8.031 kB / 1.175 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.6319, allocations: 122.8 kB / 1.176 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.633, allocations: 203.5 kB / 1.176 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008549/0.6339, allocations: 0.7428 MB / 1.176 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/0.6339, allocations: 54 kB / 1.177 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.994e-05/0.634, allocations: 72 kB / 1.177 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.6355, allocations: 0.8919 MB / 1.177 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.6355, allocations: 0 / 1.177 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-05/0.6356, allocations: 35.98 kB / 1.177 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.6356, allocations: 20 kB / 1.178 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.6374, allocations: 1.132 MB / 1.179 GB, free: 12.37 MB / 0.9356 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.003423/0.6409, allocations: 2.604 MB / 1.181 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.6423, allocations: 0.8373 MB / 1.182 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006194/0.6429, allocations: 330.7 kB / 1.182 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.572e-05/0.643, allocations: 40.53 kB / 1.182 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009688/0.644, allocations: 0.528 MB / 1.183 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 2.073e-06/0.644, allocations: 0 / 1.183 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003251/0.6473, allocations: 1.291 MB / 1.184 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.366e-05/0.6474, allocations: 188.6 kB / 1.184 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006454/0.648, allocations: 0.645 MB / 1.185 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.23e-05/0.6481, allocations: 41.7 kB / 1.185 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/0.6483, allocations: 376.5 kB / 1.185 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.6485, allocations: 268.2 kB / 1.186 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.6487, allocations: 154.5 kB / 1.186 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.6489, allocations: 390.7 kB / 1.186 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005956/0.6495, allocations: 281.8 kB / 1.186 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006865/0.6501, allocations: 387.4 kB / 1.187 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.6514, allocations: 0.651 MB / 1.187 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.6514, allocations: 0 / 1.187 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002009/0.6535, allocations: 0.8721 MB / 1.188 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.6535, allocations: 11.94 kB / 1.188 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.6535, allocations: 0 / 1.188 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005707/0.6541, allocations: 84.84 kB / 1.188 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006753/0.6548, allocations: 163.8 kB / 1.188 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.6566, allocations: 1.652 MB / 1.19 GB, free: 196 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006432/0.6572, allocations: 99.22 kB / 1.19 GB, free: 96 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.036e-05/0.6573, allocations: 35.91 kB / 1.19 GB, free: 60 kB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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 (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003198/0.6576, allocations: 276.3 kB / 1.19 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.6578, allocations: 86.97 kB / 1.191 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.6604, allocations: 1.195 MB / 1.192 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.6605, allocations: 12 kB / 1.192 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.6605, allocations: 7.922 kB / 1.192 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.6605, allocations: 7.922 kB / 1.192 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008564/0.6614, allocations: 0.9152 MB / 1.193 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.6614, allocations: 0 / 1.193 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006289/0.662, allocations: 163.8 kB / 1.193 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004161/0.6624, allocations: 76.78 kB / 1.193 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.449e-05/0.6625, allocations: 23.98 kB / 1.193 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001653/0.6642, allocations: 1.677 MB / 1.195 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6642, allocations: 0 / 1.195 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.6662, allocations: 0.9942 MB / 1.195 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.6665, allocations: 295.5 kB / 1.196 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.6666, allocations: 20 kB / 1.196 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006417/0.6673, allocations: 73.33 kB / 1.196 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.6674, allocations: 76.89 kB / 1.196 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-05/0.6675, allocations: 35.97 kB / 1.196 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004755/0.668, allocations: 467 kB / 1.196 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.668, allocations: 0 / 1.196 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006552/0.6686, allocations: 323.4 kB / 1.197 GB, free: 9.117 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 5 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003377/0.672, allocations: 2.082 MB / 1.199 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002349/0.6744, allocations: 1.089 MB / 1.2 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.6744, allocations: 0 / 1.2 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009452/0.6754, allocations: 0.551 MB / 1.2 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.6764, allocations: 295.8 kB / 1.201 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.6872, allocations: 6.97 MB / 1.207 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.6876, allocations: 1.015 MB / 1.208 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008063/0.6885, allocations: 282.9 kB / 1.209 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/0.6889, allocations: 379.3 kB / 1.209 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.689, allocations: 0 / 1.209 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.646/3.335, allocations: 21.97 MB / 1.231 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002567/3.335, allocations: 305.1 kB / 1.231 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.003/6.338, allocations: 0 / 1.231 GB, free: 6.484 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)