Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_latest_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.0009169/0.0009168, allocations: 91.45 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.005035/0.005035, allocations: 171.7 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.176/1.176, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.376/2.376, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003458, allocations: 16.16 kB / 0.9029 GB, free: 36.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.229, allocations: 159.6 MB / 1.059 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004443/0.2334, allocations: 4.284 MB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1305/0.364, allocations: 146.7 MB / 1.206 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005758/0.3646, allocations: 15.94 kB / 1.206 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.3651, allocations: 142.9 kB / 1.206 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.3664, allocations: 460.9 kB / 1.207 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.3679, allocations: 0.7319 MB / 1.207 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0012/0.3691, allocations: 1.288 MB / 1.209 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00068/0.3698, allocations: 0.5017 MB / 1.209 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004988/0.3703, allocations: 366.2 kB / 1.21 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004845/0.3708, allocations: 390 kB / 1.21 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.716e-05/0.3709, allocations: 28 kB / 1.21 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.372, allocations: 0.7645 MB / 1.211 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.3722, allocations: 187.1 kB / 1.211 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003771/0.3726, allocations: 462.9 kB / 1.211 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.3742, allocations: 1.659 MB / 1.213 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.3742, allocations: 0 / 1.213 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3742, allocations: 4 kB / 1.213 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.579e-05/0.3742, allocations: 0 / 1.213 GB, free: 6.281 MB / 0.9669 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.002146/0.3764, allocations: 1.255 MB / 1.214 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3764, allocations: 15.97 kB / 1.214 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001537/0.3766, allocations: 122.8 kB / 1.214 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.3776, allocations: 219.5 kB / 1.215 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009378/0.3786, allocations: 0.7427 MB / 1.215 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.723e-05/0.3786, allocations: 58 kB / 1.215 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.87e-05/0.3788, allocations: 72 kB / 1.215 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.3803, allocations: 0.8997 MB / 1.216 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.3803, allocations: 7.938 kB / 1.216 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.739e-05/0.3804, allocations: 35.98 kB / 1.216 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.3804, allocations: 16 kB / 1.216 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/0.3823, allocations: 1.143 MB / 1.217 GB, free: 1.559 MB / 0.9669 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.003549/0.3858, allocations: 2.637 MB / 1.22 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.3873, allocations: 0.8441 MB / 1.221 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006563/0.388, allocations: 342.7 kB / 1.221 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.065e-05/0.3881, allocations: 40.53 kB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009457/0.389, allocations: 0.5347 MB / 1.222 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 1.864e-06/0.3891, allocations: 0 / 1.222 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.00329/0.3924, allocations: 1.315 MB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.061e-05/0.3924, allocations: 192.6 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006811/0.3931, allocations: 0.6372 MB / 1.224 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.247e-05/0.3932, allocations: 41.7 kB / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.3935, allocations: 384.6 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/0.3937, allocations: 264.2 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.637e-05/0.3938, allocations: 61.69 kB / 1.225 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3939, allocations: 390.7 kB / 1.225 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006329/0.3945, allocations: 281.8 kB / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007052/0.3953, allocations: 411.3 kB / 1.226 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.3966, allocations: 0.6627 MB / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3966, allocations: 0 / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002007/0.3986, allocations: 0.8954 MB / 1.227 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.3986, allocations: 4 kB / 1.227 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.3986, allocations: 4 kB / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000547/0.3992, allocations: 80.91 kB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006801/0.3999, allocations: 171.8 kB / 1.227 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.4017, allocations: 1.545 MB / 1.229 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006841/0.4024, allocations: 107.4 kB / 1.229 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/0.4024, allocations: 39.97 kB / 1.229 GB, free: 5.297 MB / 0.9825 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.0003276/0.4028, allocations: 267.4 kB / 1.229 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.4029, allocations: 86.91 kB / 1.229 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002706/0.4056, allocations: 1.226 MB / 1.231 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.4056, allocations: 8 kB / 1.231 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4056, allocations: 0 / 1.231 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.4056, allocations: 11.92 kB / 1.231 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008994/0.4065, allocations: 0.9152 MB / 1.231 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4066, allocations: 0 / 1.231 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006347/0.4072, allocations: 171.8 kB / 1.232 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000484/0.4077, allocations: 80.77 kB / 1.232 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-05/0.4078, allocations: 31.97 kB / 1.232 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/0.4094, allocations: 1.567 MB / 1.233 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4094, allocations: 3.938 kB / 1.233 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.4114, allocations: 1.018 MB / 1.234 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000323/0.4118, allocations: 295.6 kB / 1.235 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.4119, allocations: 19.98 kB / 1.235 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006798/0.4126, allocations: 91.92 kB / 1.235 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.4127, allocations: 76.89 kB / 1.235 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.379e-05/0.4128, allocations: 39.97 kB / 1.235 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004917/0.4133, allocations: 463 kB / 1.235 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4133, allocations: 0 / 1.235 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006923/0.414, allocations: 323.3 kB / 1.235 GB, free: 14.39 MB / 0.9981 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.003443/0.4174, allocations: 2.096 MB / 1.238 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001717/0.4192, allocations: 0.8822 MB / 1.238 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4192, allocations: 0 / 1.238 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009718/0.4201, allocations: 0.5626 MB / 1.239 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.4213, allocations: 280.5 kB / 1.239 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.4325, allocations: 7.027 MB / 1.246 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.4331, allocations: 1.02 MB / 1.247 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008025/0.4339, allocations: 267 kB / 1.247 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004999/0.4344, allocations: 375.3 kB / 1.248 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/0.4344, allocations: 4 kB / 1.248 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.135/7.57, allocations: 21.05 MB / 1.268 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/7.57, allocations: 304.5 kB / 1.269 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.615/10.18, allocations: 3.656 kB / 1.269 GB, free: 185.1 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)