Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 106.3 kB / 16.27 MB, free: 6.414 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.001254/0.001254, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.344/1.344, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002313/0.002313, allocations: 291.1 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9696/0.9696, allocations: 169.3 MB / 0.4988 GB, free: 4.492 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001829, allocations: 98.09 kB / 0.5959 GB, free: 15.13 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1768, allocations: 86.97 MB / 0.6808 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.007397/0.1843, allocations: 4.427 MB / 0.6851 GB, free: 3.723 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4824/0.6668, allocations: 150.6 MB / 0.8322 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.6679, allocations: 15.88 kB / 0.8322 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008021/0.6688, allocations: 173.2 kB / 0.8324 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002031/0.6709, allocations: 0.5048 MB / 0.8329 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002836/0.6737, allocations: 0.8272 MB / 0.8337 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002624/0.6764, allocations: 1.339 MB / 0.835 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.6776, allocations: 0.5635 MB / 0.8355 GB, free: 388 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009767/0.6786, allocations: 478.3 kB / 0.836 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.6797, allocations: 489.9 kB / 0.8364 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003229/0.68, allocations: 108 kB / 0.8365 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.6825, allocations: 0.8504 MB / 0.8374 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004616/0.683, allocations: 283.1 kB / 0.8377 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007919/0.6838, allocations: 0.5246 MB / 0.8382 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003602/0.6874, allocations: 1.729 MB / 0.8399 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.6875, allocations: 0 / 0.8399 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6875, allocations: 0 / 0.8399 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.184e-05/0.6875, allocations: 4 kB / 0.8399 GB, free: 11.93 MB / 0.6075 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.003909/0.6914, allocations: 1.443 MB / 0.8413 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.6915, allocations: 12.03 kB / 0.8413 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/0.6933, allocations: 207.4 kB / 0.8415 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.6947, allocations: 0.7355 MB / 0.8422 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.55e-05/0.6948, allocations: 58 kB / 0.8422 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.695, allocations: 75.92 kB / 0.8423 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/0.6973, allocations: 0.9007 MB / 0.8432 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.6973, allocations: 0 / 0.8432 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.6975, allocations: 36 kB / 0.8432 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.6975, allocations: 20 kB / 0.8433 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002972/0.7005, allocations: 1.124 MB / 0.8443 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005622/0.7061, allocations: 2.505 MB / 0.8468 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/0.7085, allocations: 0.8287 MB / 0.8476 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.7096, allocations: 330.7 kB / 0.8479 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.7098, allocations: 32.61 kB / 0.848 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001616/0.7114, allocations: 0.5344 MB / 0.8485 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 3.477e-06/0.7114, allocations: 0 / 0.8485 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.005346/0.7168, allocations: 1.287 MB / 0.8497 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/0.717, allocations: 196.5 kB / 0.8499 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.7182, allocations: 0.6411 MB / 0.8505 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.7184, allocations: 45.64 kB / 0.8506 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004382/0.7188, allocations: 376.5 kB / 0.8509 GB, free: 260 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003543/0.7192, allocations: 268.2 kB / 0.8512 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004037/0.7196, allocations: 170.5 kB / 0.8514 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002389/0.7198, allocations: 386.8 kB / 0.8517 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.7209, allocations: 297.8 kB / 0.852 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.7221, allocations: 404 kB / 0.8524 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/0.7242, allocations: 0.6782 MB / 0.8531 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.7242, allocations: 0 / 0.8531 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003652/0.7279, allocations: 0.9228 MB / 0.854 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.728, allocations: 4 kB / 0.854 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.728, allocations: 0 / 0.854 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008448/0.7288, allocations: 88.89 kB / 0.8541 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.73, allocations: 179.7 kB / 0.8542 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003432/0.7335, allocations: 1.646 MB / 0.8558 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.7349, allocations: 101.3 kB / 0.8559 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.7351, allocations: 39.97 kB / 0.856 GB, free: 10.91 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,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 (97): * Single equations (assignments): 96 * 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.0006631/0.7357, allocations: 263.9 kB / 0.8562 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002896/0.736, allocations: 86.91 kB / 0.8563 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004612/0.7406, allocations: 1.207 MB / 0.8575 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.7407, allocations: 11.94 kB / 0.8575 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.7407, allocations: 3.984 kB / 0.8575 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.7407, allocations: 3.984 kB / 0.8575 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.7425, allocations: 0.9148 MB / 0.8584 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.7425, allocations: 7.984 kB / 0.8584 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.7437, allocations: 159.8 kB / 0.8586 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006477/0.7443, allocations: 76.78 kB / 0.8586 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.948e-05/0.7444, allocations: 27.98 kB / 0.8587 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002907/0.7473, allocations: 1.679 MB / 0.8603 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7474, allocations: 0 / 0.8603 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003712/0.7511, allocations: 0.998 MB / 0.8613 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006481/0.7518, allocations: 283.7 kB / 0.8615 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/0.752, allocations: 20 kB / 0.8616 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.753, allocations: 79.91 kB / 0.8616 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002519/0.7533, allocations: 68.89 kB / 0.8617 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/0.7535, allocations: 44.03 kB / 0.8617 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009789/0.7544, allocations: 459 kB / 0.8622 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.194e-06/0.7545, allocations: 7.938 kB / 0.8622 GB, free: 4.277 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001388/0.7559, allocations: 327.3 kB / 0.8625 GB, free: 3.957 MB / 0.6231 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.002071/0.7579, allocations: 0.6124 MB / 0.8631 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00447/0.7624, allocations: 1.116 MB / 0.8642 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.7625, allocations: 0 / 0.8642 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001628/0.7641, allocations: 0.5549 MB / 0.8647 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/0.7659, allocations: 294.3 kB / 0.865 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00588/0.7718, allocations: 1.814 MB / 0.8668 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000909/0.7728, allocations: 1.02 MB / 0.8678 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005164/0.7733, allocations: 123.3 kB / 0.8679 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of SimCode: time 1.412e-06/0.7733, allocations: 0 / 0.8679 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of Templates: time 0.04199/0.8153, allocations: 18.86 MB / 0.8863 GB, free: 11.78 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)