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.001209/0.001209, 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.001194/0.001194, allocations: 188.2 kB / 16.13 MB, free: 6.645 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.219/1.219, allocations: 222.9 MB / 239.8 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.339/2.339, allocations: 461.9 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 67.66 kB / 0.8985 GB, free: 36.89 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2459, allocations: 157.4 MB / 1.052 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005296/0.2512, allocations: 4.716 MB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.132/0.3832, allocations: 148.3 MB / 1.202 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007283/0.384, allocations: 19.88 kB / 1.202 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000459/0.3845, allocations: 142.9 kB / 1.202 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001282/0.3858, allocations: 459.5 kB / 1.202 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.3873, allocations: 0.7228 MB / 1.203 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001057/0.3883, allocations: 1.292 MB / 1.204 GB, free: 12 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006763/0.389, allocations: 0.5156 MB / 1.205 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005049/0.3895, allocations: 414.3 kB / 1.205 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004465/0.39, allocations: 465.8 kB / 1.205 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.3901, allocations: 48 kB / 1.206 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/0.3913, allocations: 0.784 MB / 1.206 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.3915, allocations: 227.1 kB / 1.207 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003736/0.3919, allocations: 481.2 kB / 1.207 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.3934, allocations: 1.698 MB / 1.209 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3934, allocations: 0 / 1.209 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.72e-07/0.3934, allocations: 3.938 kB / 1.209 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.3934, allocations: 0 / 1.209 GB, free: 7.363 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.002355/0.3958, allocations: 1.454 MB / 1.21 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3958, allocations: 11.97 kB / 1.21 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001342/0.396, allocations: 130.8 kB / 1.21 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.3971, allocations: 199.5 kB / 1.21 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008754/0.3979, allocations: 0.7427 MB / 1.211 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/0.398, allocations: 61.98 kB / 1.211 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.275e-05/0.3981, allocations: 72 kB / 1.211 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.3995, allocations: 0.8956 MB / 1.212 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.3996, allocations: 7.938 kB / 1.212 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.31e-05/0.3997, allocations: 36 kB / 1.212 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.3997, allocations: 16 kB / 1.212 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.4015, allocations: 1.128 MB / 1.213 GB, free: 2.473 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.003379/0.4049, allocations: 2.604 MB / 1.216 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.4064, allocations: 0.8285 MB / 1.217 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006226/0.407, allocations: 338.5 kB / 1.217 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.441e-05/0.4071, allocations: 36.47 kB / 1.217 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009707/0.408, allocations: 0.5299 MB / 1.218 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 1.843e-06/0.4081, allocations: 0 / 1.218 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003246/0.4113, allocations: 1.287 MB / 1.219 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/0.4114, allocations: 192.6 kB / 1.219 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006612/0.4121, allocations: 0.6411 MB / 1.22 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.592e-05/0.4121, allocations: 41.7 kB / 1.22 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.4124, allocations: 380.6 kB / 1.22 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.4126, allocations: 260.2 kB / 1.22 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.4128, allocations: 158.5 kB / 1.22 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.4129, allocations: 390.7 kB / 1.221 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006097/0.4135, allocations: 277.8 kB / 1.221 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006895/0.4142, allocations: 399.3 kB / 1.221 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.4155, allocations: 0.651 MB / 1.222 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.4155, allocations: 0 / 1.222 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001988/0.4175, allocations: 0.8721 MB / 1.223 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.4175, allocations: 9.25 kB / 1.223 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4175, allocations: 0 / 1.223 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005549/0.4181, allocations: 84.89 kB / 1.223 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006734/0.4188, allocations: 171.7 kB / 1.223 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/0.4205, allocations: 1.541 MB / 1.225 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000668/0.4212, allocations: 91.44 kB / 1.225 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/0.4213, allocations: 39.97 kB / 1.225 GB, free: 6.281 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.0003258/0.4216, allocations: 259.4 kB / 1.225 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.4218, allocations: 86.91 kB / 1.225 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002689/0.4245, allocations: 1.21 MB / 1.226 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.4245, allocations: 8 kB / 1.226 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.4245, allocations: 7.922 kB / 1.226 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.4245, allocations: 3.984 kB / 1.226 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000892/0.4254, allocations: 0.9268 MB / 1.227 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4254, allocations: 0 / 1.227 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006198/0.4261, allocations: 159.8 kB / 1.227 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004735/0.4265, allocations: 84.77 kB / 1.227 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.212e-05/0.4266, allocations: 23.98 kB / 1.227 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/0.4282, allocations: 1.567 MB / 1.229 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4282, allocations: 3.938 kB / 1.229 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.4302, allocations: 0.9943 MB / 1.23 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003064/0.4306, allocations: 291.6 kB / 1.23 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.4307, allocations: 16 kB / 1.23 GB, free: 412 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006425/0.4313, allocations: 81.62 kB / 1.23 GB, free: 332 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.4315, allocations: 76.89 kB / 1.23 GB, free: 256 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.591e-05/0.4315, allocations: 39.98 kB / 1.23 GB, free: 216 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000483/0.432, allocations: 463 kB / 1.231 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.014e-06/0.432, allocations: 0 / 1.231 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006971/0.4327, allocations: 327.3 kB / 1.231 GB, free: 15.44 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.003355/0.4361, allocations: 2.071 MB / 1.233 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001683/0.4378, allocations: 0.8627 MB / 1.234 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4378, allocations: 3.984 kB / 1.234 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009569/0.4388, allocations: 0.551 MB / 1.235 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.4398, allocations: 272.1 kB / 1.235 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.4517, allocations: 6.957 MB / 1.242 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/0.4523, allocations: 1.021 MB / 1.243 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009451/0.4532, allocations: 270.9 kB / 1.243 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005373/0.4538, allocations: 375.3 kB / 1.243 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/0.4538, allocations: 8 kB / 1.243 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4139/0.8677, allocations: 21.35 MB / 1.264 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/0.8679, allocations: 311.5 kB / 1.264 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.127/2.995, allocations: 0 / 1.264 GB, free: 188.3 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)