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.00126/0.00126, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.195/1.195, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.294/2.294, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 67.91 kB / 0.8693 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4891/0.4902, allocations: 151.6 MB / 1.017 GB, free: 2.59 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005554/0.4958, allocations: 4.693 MB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1294/0.6253, allocations: 150.6 MB / 1.169 GB, free: 6.691 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006675/0.626, allocations: 19.94 kB / 1.169 GB, free: 6.672 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005805/0.6266, allocations: 186.2 kB / 1.169 GB, free: 6.488 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.6282, allocations: 0.539 MB / 1.17 GB, free: 5.953 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001712/0.6299, allocations: 0.8352 MB / 1.171 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001268/0.6312, allocations: 1.374 MB / 1.172 GB, free: 3.742 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007044/0.6319, allocations: 0.5311 MB / 1.172 GB, free: 3.191 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005654/0.6325, allocations: 474.3 kB / 1.173 GB, free: 2.727 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000569/0.633, allocations: 0.4901 MB / 1.173 GB, free: 2.234 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001783/0.6332, allocations: 108 kB / 1.173 GB, free: 2.129 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.6345, allocations: 0.8504 MB / 1.174 GB, free: 1.277 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002284/0.6347, allocations: 279.1 kB / 1.175 GB, free: 1.004 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004479/0.6351, allocations: 0.5324 MB / 1.175 GB, free: 480 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.6368, allocations: 1.757 MB / 1.177 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.6368, allocations: 0 / 1.177 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.81e-07/0.6368, allocations: 0 / 1.177 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.6368, allocations: 0 / 1.177 GB, free: 14.71 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002033/0.6389, allocations: 1.458 MB / 1.178 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.331e-05/0.6389, allocations: 8.031 kB / 1.178 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001231/0.639, allocations: 122.8 kB / 1.178 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.6401, allocations: 203.5 kB / 1.179 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008266/0.6409, allocations: 0.7427 MB / 1.179 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.169e-05/0.641, allocations: 58 kB / 1.179 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.059e-05/0.6411, allocations: 75.98 kB / 1.179 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.6424, allocations: 0.8919 MB / 1.18 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.6425, allocations: 0 / 1.18 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.167e-05/0.6425, allocations: 35.94 kB / 1.18 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.6426, allocations: 20 kB / 1.18 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.6444, allocations: 1.132 MB / 1.181 GB, free: 9.824 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.003307/0.6477, allocations: 2.614 MB / 1.184 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.6491, allocations: 0.8313 MB / 1.185 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006273/0.6498, allocations: 330.7 kB / 1.185 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.416e-05/0.6499, allocations: 40.52 kB / 1.185 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009168/0.6508, allocations: 0.528 MB / 1.186 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 1.833e-06/0.6508, allocations: 0 / 1.186 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003238/0.654, allocations: 1.283 MB / 1.187 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/0.6541, allocations: 200.5 kB / 1.187 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006307/0.6548, allocations: 0.6333 MB / 1.188 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/0.6548, allocations: 45.69 kB / 1.188 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.6551, allocations: 380.5 kB / 1.188 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.6552, allocations: 264.2 kB / 1.188 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/0.6554, allocations: 158.5 kB / 1.189 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.6556, allocations: 390.7 kB / 1.189 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006091/0.6562, allocations: 273.8 kB / 1.189 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007011/0.6569, allocations: 403.4 kB / 1.19 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.6582, allocations: 0.6393 MB / 1.19 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6582, allocations: 0 / 1.19 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002032/0.6602, allocations: 0.876 MB / 1.191 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.6603, allocations: 4 kB / 1.191 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.6603, allocations: 0 / 1.191 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005471/0.6608, allocations: 88.83 kB / 1.191 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006632/0.6615, allocations: 167.8 kB / 1.191 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/0.6633, allocations: 1.642 MB / 1.193 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006464/0.6639, allocations: 100.2 kB / 1.193 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.664, allocations: 31.97 kB / 1.193 GB, free: 13.52 MB / 0.9512 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.0003091/0.6643, allocations: 279.5 kB / 1.193 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.6645, allocations: 86.91 kB / 1.193 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00267/0.6671, allocations: 1.195 MB / 1.195 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.6672, allocations: 12 kB / 1.195 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.6672, allocations: 0 / 1.195 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.6672, allocations: 7.922 kB / 1.195 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008669/0.6681, allocations: 0.9229 MB / 1.195 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.6681, allocations: 4 kB / 1.195 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006249/0.6687, allocations: 155.8 kB / 1.196 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004179/0.6691, allocations: 80.78 kB / 1.196 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-05/0.6692, allocations: 23.98 kB / 1.196 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.6708, allocations: 1.677 MB / 1.197 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6708, allocations: 0 / 1.197 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/0.6729, allocations: 1.002 MB / 1.198 GB, free: 7.84 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003042/0.6732, allocations: 291.6 kB / 1.199 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.6733, allocations: 20 kB / 1.199 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006331/0.6739, allocations: 74.11 kB / 1.199 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.6741, allocations: 72.89 kB / 1.199 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-05/0.6742, allocations: 39.97 kB / 1.199 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000483/0.6746, allocations: 467 kB / 1.199 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6747, allocations: 4 kB / 1.199 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006625/0.6753, allocations: 319.4 kB / 1.2 GB, free: 6.566 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.00331/0.6786, allocations: 2.085 MB / 1.202 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00236/0.681, allocations: 1.085 MB / 1.203 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.681, allocations: 0 / 1.203 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009615/0.682, allocations: 0.5432 MB / 1.203 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009927/0.683, allocations: 312.1 kB / 1.203 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009396/0.6924, allocations: 6.605 MB / 1.21 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.6929, allocations: 1.02 MB / 1.211 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007664/0.6936, allocations: 271 kB / 1.211 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004684/0.6941, allocations: 383.3 kB / 1.212 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.6941, allocations: 0 / 1.212 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.428/2.122, allocations: 22.21 MB / 1.233 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.19/17.31, allocations: 6.953 kB / 1.233 GB, free: 4.402 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)